From bea7b10489afcc845db00b03da6ccea71de6cb1d Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Sat, 3 Dec 2011 16:42:19 +0100 Subject: [PATCH] maint: remove redundant usage declarations (-Wredundant-decls) * src/csplit.c (usage): Remove declaration. * src/ls.c (usage): Likewise. * src/pr.c (usage): Likewise. --- src/csplit.c | 1 - src/ls.c | 1 - src/pr.c | 1 - 3 files changed, 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); -- 2.11.4.GIT