summaryrefslogtreecommitdiff
path: root/lib/rename.c
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>2001-05-12 10:05:15 +0000
committerJim Meyering <jim@meyering.net>2001-05-12 10:05:15 +0000
commit7bf6449a9e1ef29eb8f6e271305fdc93bfe9d6fc (patch)
treeb14b1c6e1d085d1242c04b577357f5a08b3b0659 /lib/rename.c
parent7377d17694b4e4cf9d7ef770519d6b431fde17c0 (diff)
downloadgnulib-7bf6449a9e1ef29eb8f6e271305fdc93bfe9d6fc.tar.gz
Include dirname.h.
(strip_trailing_slashes): Remove decl; now in dirname.h.
Diffstat (limited to 'lib/rename.c')
-rw-r--r--lib/rename.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/rename.c b/lib/rename.c
index 29a8da44bd..57676c9640 100644
--- a/lib/rename.c
+++ b/lib/rename.c
@@ -30,6 +30,7 @@
# include <strings.h>
#endif
+#include <dirname.h>
#include <xalloc.h>
#ifndef HAVE_DECL_FREE
@@ -39,8 +40,6 @@
void free ();
#endif
-void strip_trailing_slashes ();
-
/* Rename the file SRC_PATH to DST_PATH, removing any trailing
slashes from SRC_PATH. Needed for SunOS 4.1.1_U1. */