From: Thiemo Seufer Date: Tue, 18 Dec 2001 08:22:30 +0000 (+0000) Subject: * addr2line.c (main): Protoype. X-Git-Tag: cygnus_cvs_20020108_pre~218 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=65de42c0f95fece900176948415027a83bc83451;p=external%2Fbinutils.git * 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. --- diff --git a/binutils/ChangeLog b/binutils/ChangeLog index 1ddf1fa..3b31f68 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 8ccf198..171c972 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 fe46b91..e892713 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 e6cc368..8405c6f 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 6ce7e91..f72a915 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 b10e3f5..be6007d 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 4344242..c6c9cf1 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 5c88175..aff1a54 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 81bf372..8e8ed8b 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 4022408..dc1946e 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;