diff options
author | 2018-04-26 12:42:50 +0000 | |
---|---|---|
committer | 2018-04-26 12:42:50 +0000 | |
commit | f414793931f0f39a413874f9e342e33d9fd35eac (patch) | |
tree | 2f4a2abfbaa234b7cf3ecdbab222b87a5d01ccb9 /usr.bin/cdio/cdio.c | |
parent | Do not try getnetbyname(3) if gethostbyname(3) returns no result. (diff) | |
download | wireguard-openbsd-f414793931f0f39a413874f9e342e33d9fd35eac.tar.xz wireguard-openbsd-f414793931f0f39a413874f9e342e33d9fd35eac.zip |
Use <fcntl.h> instead of <sys/file.h> for open() and friends.
Delete a bunch of unnecessary #includes and sort to match style(9)
while doing the above cleanup.
ok deraadt@ krw@
Diffstat (limited to 'usr.bin/cdio/cdio.c')
-rw-r--r-- | usr.bin/cdio/cdio.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/cdio/cdio.c b/usr.bin/cdio/cdio.c index 0177630da6e..d0a35423478 100644 --- a/usr.bin/cdio/cdio.c +++ b/usr.bin/cdio/cdio.c @@ -1,4 +1,4 @@ -/* $OpenBSD: cdio.c,v 1.74 2015/01/16 06:40:06 deraadt Exp $ */ +/* $OpenBSD: cdio.c,v 1.75 2018/04/26 12:42:51 guenther Exp $ */ /* Copyright (c) 1995 Serge V. Vakulenko * All rights reserved. @@ -53,7 +53,6 @@ */ #include <sys/param.h> /* isset */ -#include <sys/file.h> #include <sys/cdio.h> #include <sys/ioctl.h> #include <sys/queue.h> @@ -63,6 +62,7 @@ #include <ctype.h> #include <err.h> #include <errno.h> +#include <fcntl.h> #include <stdio.h> #include <stdlib.h> #include <string.h> |