From bbedda662fae9c66ddbdc65daeb2d78407a46238 Mon Sep 17 00:00:00 2001 From: deraadt Date: Thu, 27 Aug 2009 16:26:42 +0000 Subject: Appease gcc2 (I wish people would write in C, rather than "latest crap gcc added") ok millert miod --- usr.bin/file/file.c | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) (limited to 'usr.bin/file/file.c') 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 +#include /* for MAXPATHLEN */ +#include + #include "file.h" #include "magic.h" @@ -37,9 +41,6 @@ #include #include #include -#include -#include /* for MAXPATHLEN */ -#include #ifdef RESTORE_TIME # if (__COHERENT__ >= 0x420) # include @@ -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 */ -- cgit v1.2.3-59-g8ed1b