aboutsummaryrefslogtreecommitdiffstats
path: root/src/jpeg.c
diff options
context:
space:
mode:
author"John Hawthorn ext:(%22) <jhawthor@uvic.ca>2008-12-21 19:26:08 -0800
committer"John Hawthorn ext:(%22) <jhawthor@uvic.ca>2008-12-21 19:26:08 -0800
commit6f208d6c757e03784c768774dfa2fa568444877c (patch)
treefe4f056f804b51e640a28c0bfc0156902eeda786 /src/jpeg.c
parentd9e9f33c3210b71c07c4268415ff9b1555819b3f (diff)
downloadmirror-meh-6f208d6c757e03784c768774dfa2fa568444877c.tar.gz
mirror-meh-6f208d6c757e03784c768774dfa2fa568444877c.tar.bz2
mirror-meh-6f208d6c757e03784c768774dfa2fa568444877c.zip
cleanup
Diffstat (limited to 'src/jpeg.c')
-rw-r--r--src/jpeg.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/jpeg.c b/src/jpeg.c
index 5745541..11e9898 100644
--- a/src/jpeg.c
+++ b/src/jpeg.c
@@ -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;