From: Nick Clifton Date: Tue, 15 Feb 2005 14:31:13 +0000 (+0000) Subject: Provide a full prototype for the localtime() function in order to avoid a X-Git-Url: http://drtracing.org/?a=commitdiff_plain;h=b5e6aa6331a60ca1f9fdcc68bc3d163fbd1751f1;p=deliverable%2Fbinutils-gdb.git Provide a full prototype for the localtime() function in order to avoid a compile time warning. --- diff --git a/binutils/ChangeLog b/binutils/ChangeLog index a5edcbf15e..3363eb620e 100644 --- a/binutils/ChangeLog +++ b/binutils/ChangeLog @@ -1,3 +1,8 @@ +2005-02-15 Nick Clifton + + * nlmconv.c: Provide a full prototype for the localtime() function + in order to avoid a compile time warning. + 2005-02-11 H.J. Lu * readelf.c (group_count): Don't initialize it. diff --git a/binutils/nlmconv.c b/binutils/nlmconv.c index 0d5966a6e9..46b439751d 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