Mercurial > hg > wm
comparison Meerwald/cmp_pgm.c @ 20:bd669312f068
suppress warnings, fix link errors
| author | Peter Meerwald-Stadler <pmeerw@pmeerw.net> |
|---|---|
| date | Sat, 28 Jan 2023 23:54:58 +0100 |
| parents | f83ef905a63d |
| children |
comparison
equal
deleted
inserted
replaced
| 19:0fffb6f03ebf | 20:bd669312f068 |
|---|---|
| 30 | 30 |
| 31 int in_cols, in_rows, in_format; | 31 int in_cols, in_rows, in_format; |
| 32 gray in_maxval; | 32 gray in_maxval; |
| 33 int orig_cols, orig_rows, orig_format; | 33 int orig_cols, orig_rows, orig_format; |
| 34 gray orig_maxval; | 34 gray orig_maxval; |
| 35 int cols, rows, format; | 35 int cols, rows; |
| 36 gray maxval; | 36 gray maxval; |
| 37 int col, row; | 37 int col, row; |
| 38 | 38 |
| 39 int c; | 39 int c; |
| 40 | 40 |
| 121 exit(1); | 121 exit(1); |
| 122 } | 122 } |
| 123 | 123 |
| 124 cols = in_cols; | 124 cols = in_cols; |
| 125 rows = in_rows; | 125 rows = in_rows; |
| 126 format = in_format; | |
| 127 maxval = in_maxval; | 126 maxval = in_maxval; |
| 128 | 127 |
| 129 input_image = pgm_allocarray(cols, rows); | 128 input_image = pgm_allocarray(cols, rows); |
| 130 orig_image = pgm_allocarray(cols, rows); | 129 orig_image = pgm_allocarray(cols, rows); |
| 131 | 130 |
