aboutsummaryrefslogtreecommitdiff
path: root/binutils/nlmconv.c
diff options
context:
space:
mode:
authorDaniel Jacobowitz <drow@false.org>2002-02-10 18:47:48 +0000
committerDaniel Jacobowitz <drow@false.org>2002-02-10 18:47:48 +0000
commit408f8db182e9d020b5ba2af7d650314ddba1eb84 (patch)
tree620d9382b6a7fd734d2d25a3ded76b78bcef3f09 /binutils/nlmconv.c
parent004af6c7ffce50c8d13d37625bef5f18d23675e9 (diff)
downloadgdb-408f8db182e9d020b5ba2af7d650314ddba1eb84.zip
gdb-408f8db182e9d020b5ba2af7d650314ddba1eb84.tar.gz
gdb-408f8db182e9d020b5ba2af7d650314ddba1eb84.tar.bz2
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.
Diffstat (limited to 'binutils/nlmconv.c')
-rw-r--r--binutils/nlmconv.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/binutils/nlmconv.c b/binutils/nlmconv.c
index e2541e3..f064271 100644
--- a/binutils/nlmconv.c
+++ b/binutils/nlmconv.c
@@ -59,7 +59,7 @@
extern char *strerror PARAMS ((int));
#ifndef localtime
-extern struct tm *localtime ();
+extern struct tm *localtime PARAMS ((const time_t *));
#endif
#ifndef SEEK_SET
@@ -122,6 +122,8 @@ static struct option long_options[] =
/* 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));