]> granicus.if.org Git - file/commitdiff
Include <stdlib.h>, mark one function void.
authorIan Darwin <ian@darwinsys.com>
Fri, 22 May 1992 17:52:34 +0000 (17:52 +0000)
committerIan Darwin <ian@darwinsys.com>
Fri, 22 May 1992 17:52:34 +0000 (17:52 +0000)
src/print.c

index cd463dd40d4d255da4b2c1a997a2a32622bdcf33..ab8a26234fb7aaad035ed602bdc924061d0c7a7f 100644 (file)
  */
 
 #include <stdio.h>
+#include <stdlib.h>
 #include <errno.h>
 #include "file.h"
 
 #ifndef        lint
 static char *moduleid = 
-       "@(#)$Header: /home/glen/git/file/cvs/file/src/print.c,v 1.11 1992/05/21 16:16:43 ian Exp $";
+       "@(#)$Header: /home/glen/git/file/cvs/file/src/print.c,v 1.12 1992/05/22 17:52:34 ian Exp $";
 #endif /* lint */
 
 #define MAXSTR         500
@@ -41,6 +42,7 @@ extern char *magicfile;
 extern int debug, nmagic;      /* number of valid magic[]s */
 extern void showstr();
 
+void
 mdump(m)
 struct magic *m;
 {
@@ -77,6 +79,7 @@ char *s1, *s2;
 
 /*ARGSUSED1*/
 /*VARARGS*/
+void
 warning(f, a)
 char *f, *a;
 {