summaryrefslogtreecommitdiff
path: root/src/funcs.c
diff options
context:
space:
mode:
authorChristos Zoulas <christos@zoulas.com>2004-06-04 14:40:19 +0000
committerChristos Zoulas <christos@zoulas.com>2004-06-04 14:40:19 +0000
commit3922314747da668f8b3c018c34d62fe9819d2f49 (patch)
treec5ae994a5660d0da0f2ee215c2e739c9fa90ee14 /src/funcs.c
parentc1e72f9191c8ddce40e8d809bad96d6d92ab0c51 (diff)
downloadfile-git-3922314747da668f8b3c018c34d62fe9819d2f49.tar.gz
make COMPILE_ONLY work again.
Diffstat (limited to 'src/funcs.c')
-rw-r--r--src/funcs.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/funcs.c b/src/funcs.c
index f15616d6..44cbdf1a 100644
--- a/src/funcs.c
+++ b/src/funcs.c
@@ -34,7 +34,7 @@
#include <ctype.h>
#ifndef lint
-FILE_RCSID("@(#)$Id: funcs.c,v 1.11 2003/11/11 20:01:46 christos Exp $")
+FILE_RCSID("@(#)$Id: funcs.c,v 1.12 2004/06/04 14:40:20 christos Exp $")
#endif /* lint */
/*
* Like printf, only we print to a buffer and advance it.
@@ -110,6 +110,7 @@ file_badread(struct magic_set *ms)
file_error(ms, errno, "error reading");
}
+#ifndef COMPILE_ONLY
protected int
file_buffer(struct magic_set *ms, const void *buf, size_t nb)
{
@@ -133,6 +134,7 @@ file_buffer(struct magic_set *ms, const void *buf, size_t nb)
}
return m;
}
+#endif
protected int
file_reset(struct magic_set *ms)