diff options
Diffstat (limited to 'src/jpeg.c')
-rw-r--r-- | src/jpeg.c | 12 |
1 files changed, 6 insertions, 6 deletions
@@ -14,12 +14,6 @@ struct error_mgr{ jmp_buf jmp_buffer; }; -static void error_exit(j_common_ptr cinfo){ - (void) cinfo; - printf("\nerror!\n"); - exit(1); -} - struct jpeg_t{ struct image img; FILE *f; @@ -27,6 +21,12 @@ struct jpeg_t{ struct error_mgr jerr; }; +static void error_exit(j_common_ptr cinfo){ + (void) cinfo; + printf("\nerror!\n"); + exit(1); +} + static struct image *jpeg_open(FILE *f){ struct jpeg_t *j; |