Fix compile time warnings
authorNick Clifton <nickc@redhat.com>
Sat, 22 Sep 2001 09:23:31 +0000 (09:23 +0000)
committerNick Clifton <nickc@redhat.com>
Sat, 22 Sep 2001 09:23:31 +0000 (09:23 +0000)
gas/ChangeLog
gas/as.c
gas/config/obj-aout.c

index 42198b9..7b57472 100644 (file)
@@ -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>.
index 2ce2fb9..6eaea89 100644 (file)
--- 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;
index e5ffdf1..a394306 100644 (file)
@@ -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 */