]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
(strip_trailing_slashes): Remove declaration; now in dirname.h.
authorJim Meyering <jim@meyering.net>
Sat, 12 May 2001 09:51:23 +0000 (09:51 +0000)
committerJim Meyering <jim@meyering.net>
Sat, 12 May 2001 09:51:23 +0000 (09:51 +0000)
src/chmod.c
src/chown.c
src/ln.c
src/mkdir.c
src/rm.c
src/rmdir.c

index 7605ca11447eb814eb086deef9afec8c130de7d9..842faf286f3ec728f153d71c50f5df6a0d5e1dc6 100644 (file)
@@ -23,6 +23,7 @@
 #include <sys/types.h>
 
 #include "system.h"
+#include "dirname.h"
 #include "error.h"
 #include "filemode.h"
 #include "modechange.h"
@@ -53,8 +54,6 @@ enum Verbosity
   V_off
 };
 
-void strip_trailing_slashes ();
-
 static int change_dir_mode PARAMS ((const char *dir,
                                    const struct mode_change *changes,
                                    const struct stat *statp));
index ad6e86317473f10bda96461fdfbb1bd33b90070a..58cf26185160054a268013882c57e7a21839a01c 100644 (file)
@@ -34,6 +34,7 @@
 #include <getopt.h>
 
 #include "system.h"
+#include "dirname.h"
 #include "error.h"
 #include "lchown.h"
 #include "quote.h"
@@ -56,7 +57,6 @@ struct group *getgrgid ();
 #endif
 
 char *parse_user_spec ();
-void strip_trailing_slashes ();
 
 /* The name the program was run with. */
 char *program_name;
index 21f55dcd6f11591c8cb4853166f6b9d661a23f30..c7345a47a01a7bb5e692e6641705e7d2357c174f 100644 (file)
--- a/src/ln.c
+++ b/src/ln.c
@@ -29,6 +29,7 @@
 #include "system.h"
 #include "same.h"
 #include "backupfile.h"
+#include "dirname.h"
 #include "error.h"
 #include "quote.h"
 
@@ -86,7 +87,6 @@ int symlink ();
 
 int isdir ();
 int yesno ();
-void strip_trailing_slashes ();
 
 /* The name by which the program was run, for error messages.  */
 char *program_name;
index 419bda75d9d77b1f2d2b2a10e4c047b70c51ddbc..48b03baa555483c3e4411b11b4df58ecee7487a1 100644 (file)
@@ -34,8 +34,6 @@
 
 #define AUTHORS "David MacKenzie"
 
-void strip_trailing_slashes ();
-
 /* The name this program was run with. */
 char *program_name;
 
index 0000c70b7b693db008d20168629d68a6622d250b..40a273da28425a1a9cf8b96ea7b606823f9ca0bf 100644 (file)
--- a/src/rm.c
+++ b/src/rm.c
@@ -50,6 +50,7 @@
 #include <assert.h>
 
 #include "system.h"
+#include "dirname.h"
 #include "error.h"
 #include "remove.h"
 #include "save-cwd.h"
@@ -60,8 +61,6 @@
 #define AUTHORS \
   "Paul Rubin, David MacKenzie, Richard Stallman, and Jim Meyering"
 
-void strip_trailing_slashes ();
-
 /* Name this program was run with.  */
 char *program_name;
 
index 260205c3c2601b5159080c4dc38a5fa4e6ed359e..86ec7c1a32c82091c07c00a877defee60d8a96eb 100644 (file)
@@ -28,6 +28,7 @@
 #include <sys/types.h>
 
 #include "system.h"
+#include "dirname.h"
 #include "error.h"
 #include "quote.h"
 
@@ -44,8 +45,6 @@
 # define ENOTEMPTY 0
 #endif
 
-void strip_trailing_slashes ();
-
 /* The name this program was run with. */
 char *program_name;