* lib/fts.c: Include intprops.h.
authorPaul Eggert <eggert@cs.ucla.edu>
Wed, 9 Mar 2005 19:21:20 +0000 (19:21 +0000)
committerPaul Eggert <eggert@cs.ucla.edu>
Wed, 9 Mar 2005 19:21:20 +0000 (19:21 +0000)
(TYPE_SIGNED): Remove.

lib/fts.c

index 00be3d2..fe7159e 100644 (file)
--- a/lib/fts.c
+++ b/lib/fts.c
@@ -1,6 +1,6 @@
 /* Traverse a file hierarchy.
 
-   Copyright (C) 2004 Free Software Foundation, Inc.
+   Copyright (C) 2004, 2005 Free Software Foundation, Inc.
 
    This program is free software; you can redistribute it and/or modify
    it under the terms of the GNU General Public License as published by
@@ -67,6 +67,7 @@ static char sccsid[] = "@(#)fts.c     8.6 (Berkeley) 8/14/94";
 #include <errno.h>
 #include "dirfd.h"
 #include "fts_.h"
+#include "intprops.h"
 #include <stdlib.h>
 #include <string.h>
 #include <unistd.h>
@@ -167,9 +168,6 @@ static int      fts_safe_changedir __P((FTS *, FTSENT *, int, const char *))
 # define O_DIRECTORY 0
 #endif
 
-/* The extra casts work around common compiler bugs.  */
-#define TYPE_SIGNED(t) (! ((t) 0 < (t) -1))
-
 #define ISDOT(a)       (a[0] == '.' && (!a[1] || (a[1] == '.' && !a[2])))
 
 #define CLR(opt)       (sp->fts_options &= ~(opt))