Skip to content

Commit

Permalink
provide forward declaration for makeerror()
Browse files Browse the repository at this point in the history
  • Loading branch information
zoulasc committed Nov 13, 2015
1 parent 49eb9da commit 030e505
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/compress.c
Expand Up @@ -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"
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 030e505

Please sign in to comment.