diff options
author | Philip Guenther <guenther@cvs.openbsd.org> | 2018-04-26 12:42:52 +0000 |
---|---|---|
committer | Philip Guenther <guenther@cvs.openbsd.org> | 2018-04-26 12:42:52 +0000 |
commit | 5f88f64e4ca00c8a8b07625c4a11ed0fde2f230c (patch) | |
tree | c1262035d78c25f24c241d2f8eac07fffcfe6e72 /usr.bin/cdio | |
parent | 883ddd7e209fd33be14c5a0bd94ea39a7e31c4f4 (diff) |
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')
-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> |