summaryrefslogtreecommitdiff
path: root/lib/fts.c
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2005-03-09 19:21:20 +0000
committerPaul Eggert <eggert@cs.ucla.edu>2005-03-09 19:21:20 +0000
commitb3c509e6ae86a38064d86f9fb0536a64b317be1c (patch)
tree05b066be0cf6dc098f109ee2f6319e68ae48fa23 /lib/fts.c
parent1c6661af1b63e21ecb731d4f6d91d2e17aaf591c (diff)
downloadcoreutils-b3c509e6ae86a38064d86f9fb0536a64b317be1c.tar.xz
* lib/fts.c: Include intprops.h.
(TYPE_SIGNED): Remove.
Diffstat (limited to 'lib/fts.c')
-rw-r--r--lib/fts.c6
1 files changed, 2 insertions, 4 deletions
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 <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))