diff options
author | Jorge Arellano Cid <jcid@dillo.org> | 2009-01-31 16:41:00 -0300 |
---|---|---|
committer | Jorge Arellano Cid <jcid@dillo.org> | 2009-01-31 16:41:00 -0300 |
commit | 882a2344b866284cbe57ae18062d47f5c43e7fe3 (patch) | |
tree | 2f54bcaecaca86ac4c229b1ba425eb6037301959 /src/jpeg.c | |
parent | 8caee1983cad918283c5b6268d15b7c38c0618f2 (diff) |
Avoid a couple of compiler warnings in jpeg.c
Diffstat (limited to 'src/jpeg.c')
-rw-r--r-- | src/jpeg.c | 14 |
1 files changed, 12 insertions, 2 deletions
@@ -105,7 +105,12 @@ static void Jpeg_close(DilloJpeg *jpeg, CacheClient_t *Client) dFree(jpeg); } -static void init_source(j_decompress_ptr cinfo) +/* + * The proper signature is: + * static void init_source(j_decompress_ptr cinfo) + * (declaring it with no parameter avoids a compiler warning) + */ +static void init_source() { } @@ -157,7 +162,12 @@ static void skip_input_data(j_decompress_ptr cinfo, long num_bytes) } } -static void term_source(j_decompress_ptr cinfo) +/* + * The proper signature is: + * static void term_source(j_decompress_ptr cinfo) + * (declaring it with no parameter avoids a compiler warning) + */ +static void term_source() { } |