+2002-02-10 Daniel Jacobowitz <drow@mvista.com>
+
+ * coffdump.c: Include "getopt.h" after "bucomm.h"
+ so that macros are defined correctly.
+ * nlmconv.c: Add PARAMS ((const time_t *)) to localtime
+ prototype. Prototype main.
+ * nlmheader.y: Add PARAMS ((int)) to strerror prototype.
+
2002-02-06 Alexandre Oliva <aoliva@redhat.com>
* MAINTAINERS: Added self as SH co-maintainer.
it out so we can test the grokker. */
#include <bfd.h>
-#include <getopt.h>
#include <libiberty.h>
#include "coffgrok.h"
#include "bucomm.h"
+#include "getopt.h"
static int atnl;
extern char *strerror PARAMS ((int));
#ifndef localtime
-extern struct tm *localtime ();
+extern struct tm *localtime PARAMS ((const time_t *));
#endif
#ifndef SEEK_SET
/* Local routines. */
+int main PARAMS ((int, char **));
+
static void show_usage PARAMS ((FILE *, int));
static const char *select_output_format PARAMS ((enum bfd_architecture,
unsigned long, boolean));
/* If strerror is just a macro, we want to use the one from libiberty
since it will handle undefined values. */
#undef strerror
-extern char *strerror ();
+extern char *strerror PARAMS ((int));
/* The lexer is simple, too simple for flex. Keywords are only
recognized at the start of lines. Everything else must be an