summaryrefslogtreecommitdiffstats
path: root/contrib/cpio
diff options
context:
space:
mode:
authorpeter <peter@FreeBSD.org>1999-09-15 01:58:44 +0000
committerpeter <peter@FreeBSD.org>1999-09-15 01:58:44 +0000
commit9751ab22aebd4e0dc1a47417f01e8e6471427840 (patch)
treef600607dae931af96b85ffc6096825041bedd739 /contrib/cpio
parent86df52f412c220bacae074173eb61b229ecdbbf3 (diff)
downloadFreeBSD-src-9751ab22aebd4e0dc1a47417f01e8e6471427840.zip
FreeBSD-src-9751ab22aebd4e0dc1a47417f01e8e6471427840.tar.gz
Fix warning: return type of `main' is not `int'
Diffstat (limited to 'contrib/cpio')
-rw-r--r--contrib/cpio/main.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/contrib/cpio/main.c b/contrib/cpio/main.c
index bba4d32..20829ef 100644
--- a/contrib/cpio/main.c
+++ b/contrib/cpio/main.c
@@ -19,6 +19,8 @@
David MacKenzie <djm@gnu.ai.mit.edu>,
and John Oleynick <juo@klinzhai.rutgers.edu>. */
+/* $FreeBSD$ */
+
#include <stdio.h>
#include <getopt.h>
#include <sys/types.h>
@@ -498,7 +500,7 @@ initialize_buffers ()
bzero (zeros_512, 512);
}
-void
+int
main (argc, argv)
int argc;
char *argv[];
OpenPOWER on IntegriCloud