From f634a560644702824aab5f7851e870786c26c95f Mon Sep 17 00:00:00 2001 From: Thiemo Seufer Date: Tue, 18 Dec 2001 08:22:30 +0000 Subject: [PATCH] * addr2line.c (main): Protoype. * ar.c (main): Protoype. * nm.c (main): Protoype. * objcopy.c (main): Protoype. * objdump.c (main): Protoype. * size.c (main): Protoype. * strings.c (main): Protoype. * gasp.c (main): Protoype. --- binutils/ChangeLog | 10 ++++++++++ binutils/addr2line.c | 2 ++ binutils/ar.c | 2 ++ binutils/nm.c | 2 ++ binutils/objcopy.c | 2 ++ binutils/objdump.c | 2 ++ binutils/size.c | 2 ++ binutils/strings.c | 2 ++ gas/ChangeLog | 4 ++++ gas/gasp.c | 2 ++ 10 files changed, 30 insertions(+) diff --git a/binutils/ChangeLog b/binutils/ChangeLog index 1ddf1fadb..3b31f68ff 100644 --- a/binutils/ChangeLog +++ b/binutils/ChangeLog @@ -1,3 +1,13 @@ +2001-12-18 Thiemo Seufer + + * addr2line.c (main): Protoype. + * ar.c (main): Protoype. + * nm.c (main): Protoype. + * objcopy.c (main): Protoype. + * objdump.c (main): Protoype. + * size.c (main): Protoype. + * strings.c (main): Protoype. + 2001-12-17 Alan Modra * readelf.c (symtab_shndx_hdr): New global. diff --git a/binutils/addr2line.c b/binutils/addr2line.c index 8ccf198cc..171c97246 100644 --- a/binutils/addr2line.c +++ b/binutils/addr2line.c @@ -263,6 +263,8 @@ process_file (filename, target) bfd_close (abfd); } +int main PARAMS ((int, char **)); + int main (argc, argv) int argc; diff --git a/binutils/ar.c b/binutils/ar.c index fe46b91d1..e892713ad 100644 --- a/binutils/ar.c +++ b/binutils/ar.c @@ -358,6 +358,8 @@ remove_output () /* The option parsing should be in its own function. It will be when I have getopt working. */ +int main PARAMS ((int, char **)); + int main (argc, argv) int argc; diff --git a/binutils/nm.c b/binutils/nm.c index e6cc368e8..8405c6f83 100644 --- a/binutils/nm.c +++ b/binutils/nm.c @@ -394,6 +394,8 @@ set_output_format (f) format = &formats[i]; } +int main PARAMS ((int, char **)); + int main (argc, argv) int argc; diff --git a/binutils/objcopy.c b/binutils/objcopy.c index 6ce7e91cd..f72a91510 100644 --- a/binutils/objcopy.c +++ b/binutils/objcopy.c @@ -2602,6 +2602,8 @@ copy_main (argc, argv) return 0; } +int main PARAMS ((int, char **)); + int main (argc, argv) int argc; diff --git a/binutils/objdump.c b/binutils/objdump.c index b10e3f5d1..be6007d48 100644 --- a/binutils/objdump.c +++ b/binutils/objdump.c @@ -2738,6 +2738,8 @@ display_info () display_target_tables (); } +int main PARAMS ((int, char **)); + int main (argc, argv) int argc; diff --git a/binutils/size.c b/binutils/size.c index 43442422a..c6c9cf1c3 100644 --- a/binutils/size.c +++ b/binutils/size.c @@ -102,6 +102,8 @@ struct option long_options[] = {0, no_argument, 0, 0} }; +int main PARAMS ((int, char **)); + int main (argc, argv) int argc; diff --git a/binutils/strings.c b/binutils/strings.c index 5c88175e1..aff1a5489 100644 --- a/binutils/strings.c +++ b/binutils/strings.c @@ -150,6 +150,8 @@ static void usage PARAMS ((FILE *stream, int status)); static long get_char PARAMS ((FILE *stream, file_off *address, int *magiccount, char **magic)); +int main PARAMS ((int, char **)); + int main (argc, argv) int argc; diff --git a/gas/ChangeLog b/gas/ChangeLog index 81bf37253..8e8ed8bff 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -1,3 +1,7 @@ +2001-12-18 Thiemo Seufer + + * gasp.c (main): Protoype. + 2001-12-17 Richard Henderson * config/tc-alpha.c (alpha_handle_align): Encode unop with RB as $sp. diff --git a/gas/gasp.c b/gas/gasp.c index 4022408e5..dc1946e4e 100644 --- a/gas/gasp.c +++ b/gas/gasp.c @@ -3537,6 +3537,8 @@ show_help () show_usage (stdout, 0); } +int main PARAMS ((int, char **)); + int main (argc, argv) int argc; -- 2.11.4.GIT