* lib/gettimeofday.c (gettimeofday): Provide rpl_gettimeofday only
when replacement is declared, otherwise provide gettimeofday.
Reported by Michael Goffioul.
Signed-off-by: Eric Blake <eblake@redhat.com>
+2010-02-23 Eric Blake <eblake@redhat.com>
+
+ gettimeofday: provide correct function
+ * lib/gettimeofday.c (gettimeofday): Provide rpl_gettimeofday only
+ when replacement is declared, otherwise provide gettimeofday.
+ Reported by Michael Goffioul.
+
2010-02-23 Jim Meyering <meyering@redhat.com>
lib-ignore: relax license to "unlimited", not LGPLv2+
causes problems. */
int
-rpl_gettimeofday (struct timeval *restrict tv, void *restrict tz)
+gettimeofday (struct timeval *restrict tv, void *restrict tz)
{
#undef gettimeofday
#if HAVE_GETTIMEOFDAY