]> granicus.if.org Git - file/commitdiff
Include "file.h" first because it includes "config.h" and this needs to
authorChristos Zoulas <christos@zoulas.com>
Tue, 11 Nov 2003 20:01:45 +0000 (20:01 +0000)
committerChristos Zoulas <christos@zoulas.com>
Tue, 11 Nov 2003 20:01:45 +0000 (20:01 +0000)
come first.

src/apptype.c
src/ascmagic.c
src/compress.c
src/file.c
src/funcs.c
src/is_tar.c
src/magic.c

index fdd17ea813453e977d291e18ab7aafe8f908bc29..73b068751290d8bf370c4e5175a6355a2d1fce0e 100644 (file)
  * 
  */
 
+#include "file.h"
+
 #include <stdio.h>
 #include <stdlib.h>
 #include <string.h>
 
-#include "file.h"
 
 #ifndef        lint
-FILE_RCSID("@(#)$Id: apptype.c,v 1.5 2003/10/14 19:29:55 christos Exp $")
+FILE_RCSID("@(#)$Id: apptype.c,v 1.6 2003/11/11 20:01:45 christos Exp $")
 #endif /* lint */
 
 #ifdef __EMX__
index a9c1e2e32f5287954a5a192e9f86a5f3ae38b508..6cab46a805607ad2ef623f4154bf5c234c6a5d02 100644 (file)
@@ -41,8 +41,8 @@
  * international characters, now subsumed into this file.
  */
 
-#include "magic.h"
 #include "file.h"
+#include "magic.h"
 #include <stdio.h>
 #include <string.h>
 #include <memory.h>
@@ -54,7 +54,7 @@
 #include "names.h"
 
 #ifndef        lint
-FILE_RCSID("@(#)$Id: ascmagic.c,v 1.38 2003/05/23 21:31:58 christos Exp $")
+FILE_RCSID("@(#)$Id: ascmagic.c,v 1.39 2003/11/11 20:01:45 christos Exp $")
 #endif /* lint */
 
 typedef unsigned long unichar;
index 8c88c4fe0710609882c6a75365b1d1575e167e71..41daf48a54bc6e91e5b493db996c4056f5893f35 100644 (file)
@@ -37,8 +37,8 @@
  *     uncompress(method, old, n, newch) - uncompress old into new, 
  *                                         using method, return sizeof new
  */
-#include "magic.h"
 #include "file.h"
+#include "magic.h"
 #include <stdio.h>
 #include <stdlib.h>
 #ifdef HAVE_UNISTD_H
@@ -56,7 +56,7 @@
 #endif
 
 #ifndef lint
-FILE_RCSID("@(#)$Id: compress.c,v 1.34 2003/10/14 19:29:55 christos Exp $")
+FILE_RCSID("@(#)$Id: compress.c,v 1.35 2003/11/11 20:01:45 christos Exp $")
 #endif
 
 
index 6ff8c0365521fe72dea1b46b5acafd50b3144388..c61ce994eb04e4822b1e377d21f595520297150b 100644 (file)
@@ -34,8 +34,8 @@
  * file - find type of a file or files - main program.
  */
 
-#include "magic.h"
 #include "file.h"
+#include "magic.h"
 
 #include <stdio.h>
 #include <stdlib.h>
@@ -72,7 +72,7 @@
 #include "patchlevel.h"
 
 #ifndef        lint
-FILE_RCSID("@(#)$Id: file.c,v 1.86 2003/10/27 18:09:41 christos Exp $")
+FILE_RCSID("@(#)$Id: file.c,v 1.87 2003/11/11 20:01:45 christos Exp $")
 #endif /* lint */
 
 
index 12aff1d4271ceb2ec17c511b9be2157facd662a3..f15616d61d5d3b1397b98157536e6128bfbaecda 100644 (file)
  * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
  * SUCH DAMAGE.
  */
-#include "magic.h"
 #include "file.h"
+#include "magic.h"
 #include <stdarg.h>
 #include <stdlib.h>
 #include <string.h>
 #include <ctype.h>
 
+#ifndef        lint
+FILE_RCSID("@(#)$Id: funcs.c,v 1.11 2003/11/11 20:01:46 christos Exp $")
+#endif /* lint */
 /*
  * Like printf, only we print to a buffer and advance it.
  */
index 8d023529156f7b7d685b450528660252977f088d..fbee318a113bebe570a61692ea8206007eae9bdc 100644 (file)
  * for file command by Ian Darwin.
  */
 
-#include "magic.h"
 #include "file.h"
+#include "magic.h"
 #include <string.h>
 #include <ctype.h>
 #include <sys/types.h>
 #include "tar.h"
 
 #ifndef lint
-FILE_RCSID("@(#)$Id: is_tar.c,v 1.23 2003/10/14 19:29:55 christos Exp $")
+FILE_RCSID("@(#)$Id: is_tar.c,v 1.24 2003/11/11 20:01:46 christos Exp $")
 #endif
 
 #define        isodigit(c)     ( ((c) >= '0') && ((c) <= '7') )
index 87f5529ed8b22d4e663e54f9d5ea3f7ffa22d34a..1c95803382c691c7fad1c1f87cdd71f8a6372b65 100644 (file)
@@ -27,8 +27,8 @@
  * SUCH DAMAGE.
  */
 
-#include "magic.h"
 #include "file.h"
+#include "magic.h"
 
 #include <stdio.h>
 #include <stdlib.h>
@@ -65,7 +65,7 @@
 #include "patchlevel.h"
 
 #ifndef        lint
-FILE_RCSID("@(#)$Id: magic.c,v 1.15 2003/10/15 01:51:24 christos Exp $")
+FILE_RCSID("@(#)$Id: magic.c,v 1.16 2003/11/11 20:01:46 christos Exp $")
 #endif /* lint */
 
 #ifdef __EMX__