diff options
author | Jim Meyering <jim@meyering.net> | 2004-06-19 12:26:53 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 2004-06-19 12:26:53 +0000 |
commit | 77e4428e58ebc910bc125c56c7a896e286163900 (patch) | |
tree | a7a1cd30e1ce98d98ff204f19976567ca42f4fb6 /lib/lchown.c | |
parent | 8836ff8b3ca95c312d0b8a69333575f246568e9e (diff) | |
download | coreutils-77e4428e58ebc910bc125c56c7a896e286163900.tar.xz |
Remove all S_IS* and S_IF* definitions.
Instead, just include "stat-macros.h".
Diffstat (limited to 'lib/lchown.c')
-rw-r--r-- | lib/lchown.c | 13 |
1 files changed, 1 insertions, 12 deletions
diff --git a/lib/lchown.c b/lib/lchown.c index 9b99651eb..ec754eac8 100644 --- a/lib/lchown.c +++ b/lib/lchown.c @@ -26,18 +26,7 @@ extern int errno; #endif #include "lchown.h" - -#ifdef STAT_MACROS_BROKEN -# undef S_ISLNK -#endif - -#ifndef S_ISLNK -# ifdef S_IFLNK -# define S_ISLNK(m) (((m) & S_IFMT) == S_IFLNK) -# else -# define S_ISLNK(m) 0 -# endif -#endif +#include "stat-macros.h" /* Declare chown to avoid a warning. Don't include unistd.h, because it may have a conflicting prototype for lchown. */ |