summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJim Meyering <meyering@redhat.com>2011-12-03 16:42:19 +0100
committerJim Meyering <meyering@redhat.com>2011-12-04 10:27:52 +0100
commitbea7b10489afcc845db00b03da6ccea71de6cb1d (patch)
treec1a936a2c0f41dfa020b9fdfe6df034ed1e7903e /src
parent79c5fcc681b823a4e5fbb8fd1baa47db4eccd86c (diff)
downloadcoreutils-bea7b10489afcc845db00b03da6ccea71de6cb1d.tar.xz
maint: remove redundant usage declarations (-Wredundant-decls)
* src/csplit.c (usage): Remove declaration. * src/ls.c (usage): Likewise. * src/pr.c (usage): Likewise.
Diffstat (limited to 'src')
-rw-r--r--src/csplit.c1
-rw-r--r--src/ls.c1
-rw-r--r--src/pr.c1
3 files changed, 0 insertions, 3 deletions
diff --git a/src/csplit.c b/src/csplit.c
index 5d84c4580..49ef3db81 100644
--- a/src/csplit.c
+++ b/src/csplit.c
@@ -111,7 +111,6 @@ static void close_output_file (void);
static void create_output_file (void);
static void delete_all_files (bool);
static void save_line_to_file (const struct cstring *line);
-void usage (int status);
/* Start of buffer list. */
static struct buffer_record *head = NULL;
diff --git a/src/ls.c b/src/ls.c
index 96f7c987b..8be9b6aed 100644
--- a/src/ls.c
+++ b/src/ls.c
@@ -282,7 +282,6 @@ static void queue_directory (char const *name, char const *realname,
bool command_line_arg);
static void sort_files (void);
static void parse_ls_color (void);
-void usage (int status);
/* Initial size of hash table.
Most hierarchies are likely to be shallower than this. */
diff --git a/src/pr.c b/src/pr.c
index d1adc5591..395e1e317 100644
--- a/src/pr.c
+++ b/src/pr.c
@@ -426,7 +426,6 @@ static void pad_across_to (int position);
static void add_line_number (COLUMN *p);
static void getoptarg (char *arg, char switch_char, char *character,
int *number);
-void usage (int status);
static void print_files (int number_of_files, char **av);
static void init_parameters (int number_of_files);
static void init_header (char const *filename, int desc);