summaryrefslogtreecommitdiff
path: root/src/remove.c
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>2001-05-13 15:29:15 +0000
committerJim Meyering <jim@meyering.net>2001-05-13 15:29:15 +0000
commita5bd412ed0f058f0cbfc64f25d99106b3682b1db (patch)
tree3d394249a8f009d24b9dad1a9485fc854c6f4777 /src/remove.c
parentdad159221739777fc974d3b6383d782855425fe6 (diff)
downloadcoreutils-a5bd412ed0f058f0cbfc64f25d99106b3682b1db.tar.xz
(dir_name, dir_len): Define to different names
to avoid shadowing warnings due to new declarations from dirname.h.
Diffstat (limited to 'src/remove.c')
-rw-r--r--src/remove.c5
1 files changed, 5 insertions, 0 deletions
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