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 5d84c45..49ef3db 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 96f7c98..8be9b6a 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 d1adc55..395e1e3 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);