From a80076a17190fc7782376aefd552a2454dc10222 Mon Sep 17 00:00:00 2001 From: Nick Clifton Date: Sat, 22 Sep 2001 09:23:31 +0000 Subject: Fix compile time warnings --- gas/ChangeLog | 5 +++++ gas/as.c | 2 ++ gas/config/obj-aout.c | 2 +- 3 files changed, 8 insertions(+), 1 deletion(-) (limited to 'gas') diff --git a/gas/ChangeLog b/gas/ChangeLog index 42198b9..7b57472 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -1,3 +1,8 @@ +2001-09-22 Nick Clifton + + * as.c: Add missing function prototype. + * config/obj-aout.c: Fix compile time warning. + 2001-09-21 Bruno Haible * config/tc-openrisc.c: Don't include . diff --git a/gas/as.c b/gas/as.c index 2ce2fb9..6eaea89 100644 --- a/gas/as.c +++ b/gas/as.c @@ -766,6 +766,8 @@ the GNU General Public License. This program has absolutely no warranty.\n")); static long start_time; +int main PARAMS ((int, char **)); + int main (argc, argv) int argc; diff --git a/gas/config/obj-aout.c b/gas/config/obj-aout.c index e5ffdf1..a394306 100644 --- a/gas/config/obj-aout.c +++ b/gas/config/obj-aout.c @@ -755,4 +755,4 @@ const struct format_ops aout_format_ops = 0, /* read_begin_hook */ 0 /* symbol_new_hook */ }; -#endif BFD_ASSEMBLER +#endif /* BFD_ASSEMBLER */ -- cgit v1.1