diff lib/rename.c @ 3237:17796f8ff7e8

Include dirname.h. (strip_trailing_slashes): Remove decl; now in dirname.h.
author Jim Meyering <jim@meyering.net>
date Sat, 12 May 2001 10:05:15 +0000
parents a17f2d7d7ee1
children 5a129aed765a
line wrap: on
line diff
--- 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.  */