aboutsummaryrefslogtreecommitdiff
path: root/gas
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2001-09-22 09:23:31 +0000
committerNick Clifton <nickc@redhat.com>2001-09-22 09:23:31 +0000
commita80076a17190fc7782376aefd552a2454dc10222 (patch)
treeb2fbc04af8fe8d61e93a7f1ab72212a20f1e8e9b /gas
parent0c35f01ab36dfcbe8f82252db9e08ed51ff9df3f (diff)
downloadgdb-a80076a17190fc7782376aefd552a2454dc10222.zip
gdb-a80076a17190fc7782376aefd552a2454dc10222.tar.gz
gdb-a80076a17190fc7782376aefd552a2454dc10222.tar.bz2
Fix compile time warnings
Diffstat (limited to 'gas')
-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 */