gifdec: fix ErrorGIFNotAvailable() declaration

A void parameter list should be (void), not (). Fixes a
-Wstrict-prototypes warning.

Change-Id: I180efbf7c58956695359320072cce1171d79e377
This commit is contained in:
James Zern
2024-02-22 13:58:19 -08:00
parent 4723db65bc
commit 1fb9f3dcf1
2 changed files with 2 additions and 1 deletions

View File

@ -317,7 +317,7 @@ void GIFDisplayError(const GifFileType* const gif, int gif_error) {
#else // !WEBP_HAVE_GIF
static void ErrorGIFNotAvailable() {
static void ErrorGIFNotAvailable(void) {
fprintf(stderr, "GIF support not compiled. Please install the libgif-dev "
"package before building.\n");
}