From 1cfb1a324798f6ed03e49813d8dfe6b28dfb9c4f Mon Sep 17 00:00:00 2001 From: Denis Vlasenko Date: Sun, 14 Dec 2008 16:04:01 +0000 Subject: heed compiler warnings about checking non-defined variables in #if directives --- libc/misc/ftw/ftw.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'libc/misc/ftw') diff --git a/libc/misc/ftw/ftw.c b/libc/misc/ftw/ftw.c index afc55f88a..9325ab745 100644 --- a/libc/misc/ftw/ftw.c +++ b/libc/misc/ftw/ftw.c @@ -105,11 +105,11 @@ char *alloca (); /* libc_hidden_proto(lstat) */ /* libc_hidden_proto(stat) */ -#if ! _LIBC && !HAVE_DECL_STPCPY && !defined stpcpy +#if !defined _LIBC && !HAVE_DECL_STPCPY && !defined stpcpy char *stpcpy (); #endif -#if ! _LIBC && ! defined HAVE_MEMPCPY && ! defined mempcpy +#if !defined _LIBC && ! defined HAVE_MEMPCPY && ! defined mempcpy /* Be CAREFUL that there are no side effects in N. */ # define mempcpy(D, S, N) ((void *) ((char *) memcpy (D, S, N) + (N))) #endif @@ -162,7 +162,7 @@ extern char *xgetcwd (void); /* Arrange to make lstat calls go through the wrapper function on systems with an lstat function that does not dereference symlinks that are specified with a trailing slash. */ -#if ! _LIBC && ! LSTAT_FOLLOWS_SLASHED_SYMLINK && !defined __UCLIBC__ +#if !defined _LIBC && !defined LSTAT_FOLLOWS_SLASHED_SYMLINK && !defined __UCLIBC__ int rpl_lstat (const char *, struct stat *); # undef lstat # define lstat(Name, Stat_buf) rpl_lstat(Name, Stat_buf) -- cgit v1.2.3