From 3974610c18f847a7a43cd77d7a13e883d06d3260 Mon Sep 17 00:00:00 2001 From: Philippe Charnier Date: Thu, 24 Jul 1997 07:02:55 +0000 Subject: [PATCH] Add includes and prototype. --- usr.bin/mkfifo/mkfifo.c | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/usr.bin/mkfifo/mkfifo.c b/usr.bin/mkfifo/mkfifo.c index ddd9a8b9f761..1172cb7003d0 100644 --- a/usr.bin/mkfifo/mkfifo.c +++ b/usr.bin/mkfifo/mkfifo.c @@ -32,21 +32,28 @@ */ #ifndef lint -static char copyright[] = +static const char copyright[] = "@(#) Copyright (c) 1990, 1993\n\ The Regents of the University of California. All rights reserved.\n"; #endif /* not lint */ #ifndef lint +#if 0 static char sccsid[] = "@(#)mkfifo.c 8.2 (Berkeley) 1/5/94"; +#endif +static const char rcsid[] = + "$Id$"; #endif /* not lint */ #include #include -#include +#include #include #include +#include + +static void usage __P((void)); int main(argc, argv) @@ -75,6 +82,7 @@ main(argc, argv) exit(exitval); } +static void usage() { (void)fprintf(stderr, "usage: mkfifo fifoname ...\n");