From 65de42c0f95fece900176948415027a83bc83451 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 1ddf1fadbda..3b31f68ffe1 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 8ccf198cc53..171c972461a 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 fe46b91d17f..e892713ad4a 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 e6cc368e815..8405c6f83ce 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 6ce7e91cd70..f72a915103d 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 b10e3f5d139..be6007d48f2 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 43442422a7b..c6c9cf1c393 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 5c88175e1be..aff1a548909 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 81bf3725311..8e8ed8bff42 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 4022408e51c..dc1946e4e5e 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.30.2