diff options
Diffstat (limited to 'src/magic.c')
| -rw-r--r-- | src/magic.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/magic.c b/src/magic.c index d6032969..2f57892c 100644 --- a/src/magic.c +++ b/src/magic.c @@ -65,7 +65,7 @@ #include "patchlevel.h" #ifndef lint -FILE_RCSID("@(#)$Id: magic.c,v 1.20 2004/03/23 15:33:43 christos Exp $") +FILE_RCSID("@(#)$Id: magic.c,v 1.21 2004/06/04 14:40:20 christos Exp $") #endif /* lint */ #ifdef __EMX__ @@ -204,6 +204,7 @@ close_and_restore(const struct magic_set *ms, const char *name, int fd, } } +#ifndef COMPILE_ONLY /* * find type of named file */ @@ -316,6 +317,7 @@ magic_buffer(struct magic_set *ms, const void *buf, size_t nb) } return file_getbuffer(ms); } +#endif public const char * magic_error(struct magic_set *ms) |
