Provide a full prototype for the localtime() function in order to avoid a
authorNick Clifton <nickc@redhat.com>
Tue, 15 Feb 2005 14:31:13 +0000 (14:31 +0000)
committerNick Clifton <nickc@redhat.com>
Tue, 15 Feb 2005 14:31:13 +0000 (14:31 +0000)
compile time warning.

binutils/ChangeLog
binutils/nlmconv.c

index a5edcbf15e96684522a7f7e82bffaff47a6f2d59..3363eb620e7ec99d457b174e035b36068efd1185 100644 (file)
@@ -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.
index 0d5966a6e9eefd6193b65ce2f42ed4903be33be4..46b439751d1df9aa875309b9e4d94b5cc04504b9 100644 (file)
@@ -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
This page took 0.031627 seconds and 4 git commands to generate.