aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/generic/gettimeofday.c
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/generic/gettimeofday.c')
-rw-r--r--sysdeps/generic/gettimeofday.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/sysdeps/generic/gettimeofday.c b/sysdeps/generic/gettimeofday.c
index 03e705d..f4a170c 100644
--- a/sysdeps/generic/gettimeofday.c
+++ b/sysdeps/generic/gettimeofday.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 1991, 1995, 1996, 1997 Free Software Foundation, Inc.
+/* Copyright (C) 1991, 1995, 1996, 1997, 2002 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
@@ -19,6 +19,8 @@
#include <errno.h>
#include <sys/time.h>
+#undef __gettimeofday
+
/* Get the current time of day and timezone information,
putting it into *TV and *TZ. If TZ is NULL, *TZ is not filled.
Returns 0 on success, -1 on errors. */
@@ -32,5 +34,6 @@ __gettimeofday (tv, tz)
}
stub_warning (gettimeofday)
+INTDEF(__gettimeofday)
weak_alias (__gettimeofday, gettimeofday)
#include <stub-tag.h>