diff options
author | 2009-08-27 16:26:42 +0000 | |
---|---|---|
committer | 2009-08-27 16:26:42 +0000 | |
commit | bbedda662fae9c66ddbdc65daeb2d78407a46238 (patch) | |
tree | 3ae4e92fb8d68d29627274a5d6a18442326c01ba /usr.bin/file/file.c | |
parent | Don't stop traversing a directory hierarchy if we reach SHRT_MAX, (diff) | |
download | wireguard-openbsd-bbedda662fae9c66ddbdc65daeb2d78407a46238.tar.xz wireguard-openbsd-bbedda662fae9c66ddbdc65daeb2d78407a46238.zip |
Appease gcc2 (I wish people would write in C, rather than "latest crap
gcc added")
ok millert miod
Diffstat (limited to 'usr.bin/file/file.c')
-rw-r--r-- | usr.bin/file/file.c | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/usr.bin/file/file.c b/usr.bin/file/file.c index b4d05763cbf..0b3e646b11b 100644 --- a/usr.bin/file/file.c +++ b/usr.bin/file/file.c @@ -1,4 +1,4 @@ -/* $OpenBSD: file.c,v 1.19 2009/04/24 18:54:34 chl Exp $ */ +/* $OpenBSD: file.c,v 1.20 2009/08/27 16:26:43 deraadt Exp $ */ /* * Copyright (c) Ian F. Darwin 1986-1995. * Software written by Ian F. Darwin and others; @@ -30,6 +30,10 @@ * file - find type of a file or files - main program. */ +#include <sys/types.h> +#include <sys/param.h> /* for MAXPATHLEN */ +#include <sys/stat.h> + #include "file.h" #include "magic.h" @@ -37,9 +41,6 @@ #include <stdlib.h> #include <unistd.h> #include <string.h> -#include <sys/types.h> -#include <sys/param.h> /* for MAXPATHLEN */ -#include <sys/stat.h> #ifdef RESTORE_TIME # if (__COHERENT__ >= 0x420) # include <sys/utime.h> @@ -71,7 +72,7 @@ int getopt_long(int argc, char * const *argv, const char *optstring, const struc #include "patchlevel.h" #ifndef lint -FILE_RCSID("@(#)$Id: file.c,v 1.19 2009/04/24 18:54:34 chl Exp $") +FILE_RCSID("@(#)$Id: file.c,v 1.20 2009/08/27 16:26:43 deraadt Exp $") #endif /* lint */ |