diff options
author | Christian Grothoff <christian@grothoff.org> | 2021-01-30 14:21:49 +0100 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2021-01-30 14:21:49 +0100 |
commit | 0ad12329a7a4dc89ae63e8b032badf559b4f5550 (patch) | |
tree | 37134282e9288c90f6b3a41ea67cf99d6556470c /src/plugins/gif_extractor.c | |
parent | ba1b54bd1346278b9f8674aa216ec2c7c16ad32c (diff) | |
download | libextractor-0ad12329a7a4dc89ae63e8b032badf559b4f5550.tar.gz libextractor-0ad12329a7a4dc89ae63e8b032badf559b4f5550.zip |
get rid of plibc.h
Diffstat (limited to 'src/plugins/gif_extractor.c')
-rw-r--r-- | src/plugins/gif_extractor.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/plugins/gif_extractor.c b/src/plugins/gif_extractor.c index 405eebe..3b202b5 100644 --- a/src/plugins/gif_extractor.c +++ b/src/plugins/gif_extractor.c | |||
@@ -36,7 +36,7 @@ | |||
36 | * @return -1 on error, otherwise number of bytes read | 36 | * @return -1 on error, otherwise number of bytes read |
37 | */ | 37 | */ |
38 | static int | 38 | static int |
39 | gif_read_func (GifFileType *ft, | 39 | gif_READ_func (GifFileType *ft, |
40 | GifByteType *bt, | 40 | GifByteType *bt, |
41 | int arg) | 41 | int arg) |
42 | { | 42 | { |
@@ -68,13 +68,13 @@ EXTRACTOR_gif_extract_method (struct EXTRACTOR_ExtractContext *ec) | |||
68 | int et; | 68 | int et; |
69 | char dims[128]; | 69 | char dims[128]; |
70 | #if defined (GIF_LIB_VERSION) || GIFLIB_MAJOR <= 4 | 70 | #if defined (GIF_LIB_VERSION) || GIFLIB_MAJOR <= 4 |
71 | if (NULL == (gif_file = DGifOpen (ec, &gif_read_func))) | 71 | if (NULL == (gif_file = DGifOpen (ec, &gif_READ_func))) |
72 | return; /* not a GIF */ | 72 | return; /* not a GIF */ |
73 | #else | 73 | #else |
74 | int gif_error; | 74 | int gif_error; |
75 | 75 | ||
76 | gif_error = 0; | 76 | gif_error = 0; |
77 | gif_file = DGifOpen (ec, &gif_read_func, &gif_error); | 77 | gif_file = DGifOpen (ec, &gif_READ_func, &gif_error); |
78 | if ((gif_file == NULL) || (gif_error != 0)) | 78 | if ((gif_file == NULL) || (gif_error != 0)) |
79 | { | 79 | { |
80 | if (gif_file != NULL) | 80 | if (gif_file != NULL) |