summaryrefslogtreecommitdiff
path: root/usr.bin/file/ascmagic.c
diff options
context:
space:
mode:
Diffstat (limited to 'usr.bin/file/ascmagic.c')
-rw-r--r--usr.bin/file/ascmagic.c17
1 files changed, 6 insertions, 11 deletions
diff --git a/usr.bin/file/ascmagic.c b/usr.bin/file/ascmagic.c
index eed3998d5ed2..a2b5d761039a 100644
--- a/usr.bin/file/ascmagic.c
+++ b/usr.bin/file/ascmagic.c
@@ -26,19 +26,16 @@
* 4. This notice may not be removed or altered.
*/
-#include <stdio.h>
-#include <string.h>
+#ifndef lint
+static const char rcsid[] =
+ "$Id$";
+#endif /* not lint */
+
#include <ctype.h>
-#include <stdlib.h>
-#include <unistd.h>
+#include <string.h>
#include "file.h"
#include "names.h"
-#ifndef lint
-static char *moduleid =
- "@(#)$Id: ascmagic.c,v 1.7 1997/03/18 19:37:17 mpp Exp $";
-#endif /* lint */
-
/* an optimisation over plain strcmp() */
#define STREQ(a, b) (*(a) == *(b) && strcmp((a), (b)) == 0)
@@ -123,5 +120,3 @@ int nbytes; /* size actually read */
}
return 1;
}
-
-