]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
maint: remove redundant usage declarations (-Wredundant-decls)
authorJim Meyering <meyering@redhat.com>
Sat, 3 Dec 2011 15:42:19 +0000 (16:42 +0100)
committerJim Meyering <meyering@redhat.com>
Sun, 4 Dec 2011 09:27:52 +0000 (10:27 +0100)
* src/csplit.c (usage): Remove declaration.
* src/ls.c (usage): Likewise.
* src/pr.c (usage): Likewise.

src/csplit.c
src/ls.c
src/pr.c

index 5d84c4580ae2651bf0afd96776df0c35c5782349..49ef3db810bf82cde0729b6132808a5496db2be1 100644 (file)
@@ -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;
index 96f7c987bc4cf764a330b4c19ddf6c504d50dd05..8be9b6aed78b3b47f1f0d2fa2ce0039053048ef2 100644 (file)
--- 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.  */
index d1adc5591f2c28e54b27e6afd90e113554cce720..395e1e317855b95c76b8546f4bff69200e54d67b 100644 (file)
--- 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);