diff options
author | Nick Clifton <nickc@redhat.com> | 2005-02-15 14:31:13 +0000 |
---|---|---|
committer | Nick Clifton <nickc@redhat.com> | 2005-02-15 14:31:13 +0000 |
commit | b5e6aa6331a60ca1f9fdcc68bc3d163fbd1751f1 (patch) | |
tree | 9de80b9ad4ce3ce67aa289293d812cfd3a1e408a /binutils | |
parent | bf143b25e9fc72d76625cbc229ef804b9ef42bae (diff) | |
download | gdb-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')
-rw-r--r-- | binutils/ChangeLog | 5 | ||||
-rw-r--r-- | binutils/nlmconv.c | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/binutils/ChangeLog b/binutils/ChangeLog index a5edcbf..3363eb6 100644 --- a/binutils/ChangeLog +++ b/binutils/ChangeLog @@ -1,3 +1,8 @@ +2005-02-15 Nick Clifton <nickc@redhat.com> + + * nlmconv.c: Provide a full prototype for the localtime() function + in order to avoid a compile time warning. + 2005-02-11 H.J. Lu <hongjiu.lu@intel.com> * readelf.c (group_count): Don't initialize it. 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 |