Functions are in right order so they do not need prototypes, with effect of not needing to keep function argument changes in sync in two locations. CC: Frodo Looijaard <frodo@xxxxxxxxxxxxxxxxxxxx> Signed-off-by: Sami Kerola <kerolasa@xxxxxx> --- misc-utils/getopt.c | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/misc-utils/getopt.c b/misc-utils/getopt.c index d7918b1..383bbd1 100644 --- a/misc-utils/getopt.c +++ b/misc-utils/getopt.c @@ -87,16 +87,6 @@ static int quote = 1; /* 1 is do quote. */ int (*getopt_long_fp) (int argc, char *const *argv, const char *optstr, const struct option * longopts, int *longindex); -/* Function prototypes */ -static const char *normalize(const char *arg); -static int generate_output(char *argv[], int argc, const char *optstr, - const struct option *longopts); -static void parse_error(const char *message); -static void add_long_options(char *options); -static void add_longopt(const char *name, int has_arg); -static void print_help(void); -static void set_shell(const char *new_shell); - /* * This function 'normalizes' a single argument: it puts single quotes * around it and escapes other special characters. If quote is false, it -- 2.1.3 -- To unsubscribe from this list: send the line "unsubscribe util-linux" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html