diff options
author | guenther <guenther@openbsd.org> | 2014-10-26 06:03:24 +0000 |
---|---|---|
committer | guenther <guenther@openbsd.org> | 2014-10-26 06:03:24 +0000 |
commit | 978d6a5495cf0c8f2dfbdfa9599b08a71092f9f4 (patch) | |
tree | 0ae0b5376505a76cdc78063ef3ce80414bb36fda /usr.bin/fstat | |
parent | mknod(2) now supports creating FIFOs too. Fix description of device file (diff) | |
download | wireguard-openbsd-978d6a5495cf0c8f2dfbdfa9599b08a71092f9f4.tar.xz wireguard-openbsd-978d6a5495cf0c8f2dfbdfa9599b08a71092f9f4.zip |
Move the #define _KERNEL wrapping to only cover <sys/file.h>
Diffstat (limited to 'usr.bin/fstat')
-rw-r--r-- | usr.bin/fstat/fuser.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/fstat/fuser.c b/usr.bin/fstat/fuser.c index 96d5db2c66e..4824e33c936 100644 --- a/usr.bin/fstat/fuser.c +++ b/usr.bin/fstat/fuser.c @@ -1,4 +1,4 @@ -/* $OpenBSD: fuser.c,v 1.4 2014/07/10 14:25:29 deraadt Exp $ */ +/* $OpenBSD: fuser.c,v 1.5 2014/10/26 06:03:24 guenther Exp $ */ /* * Copyright (c) 2009 Todd C. Miller <Todd.Miller@courtesan.com> @@ -45,8 +45,8 @@ #include <sys/queue.h> #include <sys/stat.h> #include <sys/sysctl.h> -#define _KERNEL /* for DTYPE_VNODE */ #include <sys/ucred.h> +#define _KERNEL /* for DTYPE_VNODE */ #include <sys/file.h> #undef _KERNEL |