diff options
author | Jim Meyering <jim@meyering.net> | 2001-05-13 15:29:15 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 2001-05-13 15:29:15 +0000 |
commit | a5bd412ed0f058f0cbfc64f25d99106b3682b1db (patch) | |
tree | 3d394249a8f009d24b9dad1a9485fc854c6f4777 | |
parent | dad159221739777fc974d3b6383d782855425fe6 (diff) | |
download | coreutils-a5bd412ed0f058f0cbfc64f25d99106b3682b1db.tar.xz |
(dir_name, dir_len): Define to different names
to avoid shadowing warnings due to new declarations from dirname.h.
-rw-r--r-- | src/remove.c | 5 |
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 |