From a5bd412ed0f058f0cbfc64f25d99106b3682b1db Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Sun, 13 May 2001 15:29:15 +0000 Subject: (dir_name, dir_len): Define to different names to avoid shadowing warnings due to new declarations from dirname.h. --- src/remove.c | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/remove.c') diff --git a/src/remove.c b/src/remove.c index c76bffaa8..49fa8acc1 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 -- cgit v1.2.3-54-g00ecf