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/wc | |
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/wc')
-rw-r--r-- | usr.bin/wc/wc.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/usr.bin/wc/wc.c b/usr.bin/wc/wc.c index e92a9fca2b1..4f2e862c45b 100644 --- a/usr.bin/wc/wc.c +++ b/usr.bin/wc/wc.c @@ -1,4 +1,4 @@ -/* $OpenBSD: wc.c,v 1.21 2016/09/16 09:25:23 fcambus Exp $ */ +/* $OpenBSD: wc.c,v 1.22 2018/04/26 12:42:51 guenther Exp $ */ /* * Copyright (c) 1980, 1987, 1991, 1993 @@ -31,7 +31,8 @@ #include <sys/param.h> /* MAXBSIZE */ #include <sys/stat.h> -#include <sys/file.h> + +#include <fcntl.h> #include <stdio.h> #include <stdlib.h> #include <locale.h> |