aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gas/ChangeLog5
-rw-r--r--gas/as.c2
-rw-r--r--gas/config/obj-aout.c2
3 files changed, 8 insertions, 1 deletions
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 <nickc@cambridge.redhat.com>
+
+ * as.c: Add missing function prototype.
+ * config/obj-aout.c: Fix compile time warning.
+
2001-09-21 Bruno Haible <haible@clisp.cons.org>
* config/tc-openrisc.c: Don't include <ctype.h>.
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 */