From: Jim Meyering Date: Sun, 13 May 2001 15:29:15 +0000 (+0000) Subject: (dir_name, dir_len): Define to different names X-Git-Tag: CPPI-1_9~126 X-Git-Url: http://git.ipfire.org/gitweb/index.cgi?a=commitdiff_plain;h=a5bd412ed0f058f0cbfc64f25d99106b3682b1db;p=thirdparty%2Fcoreutils.git (dir_name, dir_len): Define to different names to avoid shadowing warnings due to new declarations from dirname.h. --- diff --git a/src/remove.c b/src/remove.c index c76bffaa88..49fa8acc10 100644 --- a/src/remove.c +++ b/src/remove.c @@ -41,6 +41,11 @@ typedef enum {false = 0, true = 1} bool; #include "quote.h" #include "remove.h" +/* Avoid shadowing warnings because these are functions declared + in dirname.h as well as locals used below. */ +#define dir_name rm_dir_name +#define dir_len rm_dir_len + #define obstack_chunk_alloc malloc #define obstack_chunk_free free