From: Christos Zoulas Date: Fri, 13 Nov 2015 15:42:18 +0000 (+0000) Subject: provide forward declaration for makeerror() X-Git-Tag: FILE5_26~75 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=030e505e0f67e1ce54fb131766caf2ed054889f3;p=file provide forward declaration for makeerror() --- diff --git a/src/compress.c b/src/compress.c index c5a08d33..7f0ef176 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.89 2015/11/11 22:50:12 christos Exp $") +FILE_RCSID("@(#)$File: compress.c,v 1.90 2015/11/13 15:35:10 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