From b3c509e6ae86a38064d86f9fb0536a64b317be1c Mon Sep 17 00:00:00 2001 From: Paul Eggert Date: Wed, 9 Mar 2005 19:21:20 +0000 Subject: * lib/fts.c: Include intprops.h. (TYPE_SIGNED): Remove. --- lib/fts.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'lib/fts.c') diff --git a/lib/fts.c b/lib/fts.c index 00be3d2cc..fe7159ebf 100644 --- 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 #include "dirfd.h" #include "fts_.h" +#include "intprops.h" #include #include #include @@ -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)) -- cgit v1.2.3-54-g00ecf