summaryrefslogtreecommitdiff
path: root/usr.bin/nohup
diff options
context:
space:
mode:
authorPhilip Guenther <guenther@cvs.openbsd.org>2018-04-26 12:42:52 +0000
committerPhilip Guenther <guenther@cvs.openbsd.org>2018-04-26 12:42:52 +0000
commit5f88f64e4ca00c8a8b07625c4a11ed0fde2f230c (patch)
treec1262035d78c25f24c241d2f8eac07fffcfe6e72 /usr.bin/nohup
parent883ddd7e209fd33be14c5a0bd94ea39a7e31c4f4 (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/nohup')
-rw-r--r--usr.bin/nohup/nohup.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/usr.bin/nohup/nohup.c b/usr.bin/nohup/nohup.c
index 5c629d6ad47..d411a0c3c2a 100644
--- a/usr.bin/nohup/nohup.c
+++ b/usr.bin/nohup/nohup.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: nohup.c,v 1.16 2015/11/09 16:52:32 deraadt Exp $ */
+/* $OpenBSD: nohup.c,v 1.17 2018/04/26 12:42:51 guenther Exp $ */
/* $NetBSD: nohup.c,v 1.6 1995/08/31 23:35:25 jtc Exp $ */
/*
@@ -30,7 +30,6 @@
* SUCH DAMAGE.
*/
-#include <sys/file.h>
#include <sys/stat.h>
#include <fcntl.h>
#include <unistd.h>