]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
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 42198b9f04c42cbac1ca6220866138d7bdd1c7ca..7b574723cb9f98a96e9d48fd8f3226462117fa45 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 2ce2fb98bf35b1db72fd5326386b7cdfa9b7422e..6eaea89273ef98a03c6403f9489f6c32c37e4f07 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 e5ffdf150653ffbf2d178ab8873818f3c42da37e..a39430683122b08e25e74c4cde319723c87f52f7 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 */