summaryrefslogtreecommitdiff
path: root/src/print.c
diff options
context:
space:
mode:
authorChristos Zoulas <christos@zoulas.com>2006-10-27 14:57:32 +0000
committerChristos Zoulas <christos@zoulas.com>2006-10-27 14:57:32 +0000
commita01c49e324e31dbd62d54b46c1141b70de53d810 (patch)
tree63911adaab9d2160b13660c5a81383703047a271 /src/print.c
parent92e58cd28759ff2132a78d37a058ca0c4b0cc018 (diff)
downloadfile-git-a01c49e324e31dbd62d54b46c1141b70de53d810.tar.gz
add a truncation warning and fix some size_t/int confusiog.
Diffstat (limited to 'src/print.c')
-rw-r--r--src/print.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/print.c b/src/print.c
index 89286713..b349306b 100644
--- a/src/print.c
+++ b/src/print.c
@@ -41,7 +41,7 @@
#include <time.h>
#ifndef lint
-FILE_RCSID("@(#)$Id: print.c,v 1.52 2006/06/08 22:48:51 christos Exp $")
+FILE_RCSID("@(#)$Id: print.c,v 1.53 2006/10/27 14:57:32 christos Exp $")
#endif /* lint */
#define SZOF(a) (sizeof(a) / sizeof(a[0]))
@@ -51,8 +51,6 @@ protected void
file_mdump(struct magic *m)
{
private const char optyp[] = { FILE_OPS };
- extern const char *file_names[];
- extern const int file_nnames;
(void) fputc('[', stderr);
(void) fprintf(stderr, ">>>>>>>> %d" + 8 - (m->cont_level & 7),