]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
Include dirname.h.
authorJim Meyering <jim@meyering.net>
Sat, 12 May 2001 10:05:42 +0000 (10:05 +0000)
committerJim Meyering <jim@meyering.net>
Sat, 12 May 2001 10:05:42 +0000 (10:05 +0000)
(strip_trailing_slashes): Remove decl; now in dirname.h.

lib/rename.c

index 29a8da44bda175003a35af969db8fe8df229e685..57676c96403842aadb3c78f7beb94b463908832c 100644 (file)
@@ -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.  */