diff options
author | Kiyoshi Aman <kiyoshi.aman+adelie@gmail.com> | 2019-06-02 10:47:44 -0500 |
---|---|---|
committer | Kiyoshi Aman <kiyoshi.aman+adelie@gmail.com> | 2019-06-02 10:47:44 -0500 |
commit | c6717937f50b1fb9a40b50639d0b91979019f289 (patch) | |
tree | 64b98cc7fdd2592068ddf0a9fda048a1d05c9e95 | |
parent | 245d006815241af4a2896b03985ecdab7869acbb (diff) | |
download | userland-c6717937f50b1fb9a40b50639d0b91979019f289.tar.gz userland-c6717937f50b1fb9a40b50639d0b91979019f289.tar.bz2 userland-c6717937f50b1fb9a40b50639d0b91979019f289.tar.xz userland-c6717937f50b1fb9a40b50639d0b91979019f289.zip |
usr.bin/mkfifo: make buildable with libbsd
-rw-r--r-- | usr.bin/mkfifo/mkfifo.c | 16 |
1 files changed, 2 insertions, 14 deletions
diff --git a/usr.bin/mkfifo/mkfifo.c b/usr.bin/mkfifo/mkfifo.c index 9d49ec5..27ccc9b 100644 --- a/usr.bin/mkfifo/mkfifo.c +++ b/usr.bin/mkfifo/mkfifo.c @@ -29,19 +29,6 @@ * SUCH DAMAGE. */ -#include <sys/cdefs.h> -#ifndef lint -__COPYRIGHT("@(#) Copyright (c) 1990, 1993\ - The Regents of the University of California. All rights reserved."); -#endif /* not lint */ - -#ifndef lint -#if 0 -static char sccsid[] = "@(#)mkfifo.c 8.2 (Berkeley) 1/5/94"; -#endif -__RCSID("$NetBSD: mkfifo.c,v 1.13 2011/09/04 20:30:34 joerg Exp $"); -#endif /* not lint */ - #include <stdio.h> #include <stdlib.h> #include <string.h> @@ -50,9 +37,10 @@ __RCSID("$NetBSD: mkfifo.c,v 1.13 2011/09/04 20:30:34 joerg Exp $"); #include <sys/types.h> #include <sys/stat.h> #include <unistd.h> +#include <bsd/unistd.h> #include <err.h> -__dead static void usage(void); +static void usage(void); int main(int argc, char *argv[]) |