From: Jim Meyering Date: Sat, 12 May 2001 09:51:23 +0000 (+0000) Subject: (strip_trailing_slashes): Remove declaration; now in dirname.h. X-Git-Tag: CPPI-1_9~165 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=4a94a06aa6f19d572b734d0c1ec3e9b6206512f4;p=thirdparty%2Fcoreutils.git (strip_trailing_slashes): Remove declaration; now in dirname.h. --- diff --git a/src/chmod.c b/src/chmod.c index 7605ca1144..842faf286f 100644 --- a/src/chmod.c +++ b/src/chmod.c @@ -23,6 +23,7 @@ #include #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)); diff --git a/src/chown.c b/src/chown.c index ad6e863174..58cf261851 100644 --- a/src/chown.c +++ b/src/chown.c @@ -34,6 +34,7 @@ #include #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; diff --git a/src/ln.c b/src/ln.c index 21f55dcd6f..c7345a47a0 100644 --- 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; diff --git a/src/mkdir.c b/src/mkdir.c index 419bda75d9..48b03baa55 100644 --- a/src/mkdir.c +++ b/src/mkdir.c @@ -34,8 +34,6 @@ #define AUTHORS "David MacKenzie" -void strip_trailing_slashes (); - /* The name this program was run with. */ char *program_name; diff --git a/src/rm.c b/src/rm.c index 0000c70b7b..40a273da28 100644 --- a/src/rm.c +++ b/src/rm.c @@ -50,6 +50,7 @@ #include #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; diff --git a/src/rmdir.c b/src/rmdir.c index 260205c3c2..86ec7c1a32 100644 --- a/src/rmdir.c +++ b/src/rmdir.c @@ -28,6 +28,7 @@ #include #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;