From: Christos Zoulas Date: Fri, 13 Nov 2015 15:42:18 +0000 (+0000) Subject: provide forward declaration for makeerror() X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=a32fea1183de40707dd105bdf4ebb447853ad95d;p=file provide forward declaration for makeerror() --- diff --git a/src/compress.c b/src/compress.c index 5bafde4a..783ba006 100644 --- a/src/compress.c +++ b/src/compress.c @@ -35,7 +35,7 @@ #include "file.h" #ifndef lint -FILE_RCSID("@(#)$File: compress.c,v 1.90 2015/11/13 15:35:10 christos Exp $") +FILE_RCSID("@(#)$File: compress.c,v 1.91 2015/11/13 15:42:18 christos Exp $") #endif #include "magic.h" @@ -175,6 +175,8 @@ private int uncompresszlib(const unsigned char *, unsigned char **, size_t *, private int uncompressgzipped(const unsigned char *, unsigned char **, size_t *); #endif +static int makeerror(unsigned char **, size_t *, const char *, ...) + __attribute__((__format__(__printf__, 3, 4))); private const char *methodname(size_t); protected int