aboutsummaryrefslogtreecommitdiff
path: root/binutils/nlmconv.c
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2005-02-15 14:31:13 +0000
committerNick Clifton <nickc@redhat.com>2005-02-15 14:31:13 +0000
commitb5e6aa6331a60ca1f9fdcc68bc3d163fbd1751f1 (patch)
tree9de80b9ad4ce3ce67aa289293d812cfd3a1e408a /binutils/nlmconv.c
parentbf143b25e9fc72d76625cbc229ef804b9ef42bae (diff)
downloadgdb-b5e6aa6331a60ca1f9fdcc68bc3d163fbd1751f1.zip
gdb-b5e6aa6331a60ca1f9fdcc68bc3d163fbd1751f1.tar.gz
gdb-b5e6aa6331a60ca1f9fdcc68bc3d163fbd1751f1.tar.bz2
Provide a full prototype for the localtime() function in order to avoid a
compile time warning.
Diffstat (limited to 'binutils/nlmconv.c')
-rw-r--r--binutils/nlmconv.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/binutils/nlmconv.c b/binutils/nlmconv.c
index 0d5966a..46b4397 100644
--- a/binutils/nlmconv.c
+++ b/binutils/nlmconv.c
@@ -59,7 +59,7 @@
extern char *strerror (int);
#ifndef localtime
-extern struct tm *localtime ();
+extern struct tm *localtime (const time_t *);
#endif
#ifndef SEEK_SET