summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>2001-05-12 09:51:23 +0000
committerJim Meyering <jim@meyering.net>2001-05-12 09:51:23 +0000
commit4a94a06aa6f19d572b734d0c1ec3e9b6206512f4 (patch)
treea180fe77da6b02ce0dbf0d17e1ad15fca89ea565
parentc29cb48a98ba45b10f433263f54fdf4a7bc3f533 (diff)
downloadcoreutils-4a94a06aa6f19d572b734d0c1ec3e9b6206512f4.tar.xz
(strip_trailing_slashes): Remove declaration; now in dirname.h.
-rw-r--r--src/chmod.c3
-rw-r--r--src/chown.c2
-rw-r--r--src/ln.c2
-rw-r--r--src/mkdir.c2
-rw-r--r--src/rm.c3
-rw-r--r--src/rmdir.c3
6 files changed, 5 insertions, 10 deletions
diff --git a/src/chmod.c b/src/chmod.c
index 7605ca114..842faf286 100644
--- a/src/chmod.c
+++ b/src/chmod.c
@@ -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));
diff --git a/src/chown.c b/src/chown.c
index ad6e86317..58cf26185 100644
--- a/src/chown.c
+++ b/src/chown.c
@@ -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;
diff --git a/src/ln.c b/src/ln.c
index 21f55dcd6..c7345a47a 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 419bda75d..48b03baa5 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 0000c70b7..40a273da2 100644
--- 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;
diff --git a/src/rmdir.c b/src/rmdir.c
index 260205c3c..86ec7c1a3 100644
--- a/src/rmdir.c
+++ b/src/rmdir.c
@@ -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;