summaryrefslogtreecommitdiff
path: root/lib/rename.c
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>2001-05-12 10:05:42 +0000
committerJim Meyering <jim@meyering.net>2001-05-12 10:05:42 +0000
commit1fecbd786316880a6fbbfab2ac4444828a84a578 (patch)
treed231e2e2107b0564280b7e27516934dabe4a68a3 /lib/rename.c
parentbef1bc613702185e17fe17a25b0b0d794dcbc8ed (diff)
downloadcoreutils-1fecbd786316880a6fbbfab2ac4444828a84a578.tar.xz
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 29a8da44b..57676c964 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. */