From d6c33fda03457ca8ca87a562fa2681af16ca4ea5 Mon Sep 17 00:00:00 2001 From: Roland McGrath Date: Thu, 24 May 2012 11:37:30 -0700 Subject: Switch gettimeofday from INTUSE to libc_hidden_proto. --- time/gettimeofday.c | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) (limited to 'time') diff --git a/time/gettimeofday.c b/time/gettimeofday.c index cfe6549db0..7eb770c2d7 100644 --- a/time/gettimeofday.c +++ b/time/gettimeofday.c @@ -1,4 +1,4 @@ -/* Copyright (C) 1991, 1995, 1996, 1997, 2002 Free Software Foundation, Inc. +/* Copyright (C) 1991-2012 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 @@ -18,8 +18,6 @@ #include #include -#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. */ @@ -31,8 +29,9 @@ __gettimeofday (tv, tz) __set_errno (ENOSYS); return -1; } -stub_warning (gettimeofday) - -INTDEF(__gettimeofday) +libc_hidden_def (__gettimeofday) weak_alias (__gettimeofday, gettimeofday) +libc_hidden_weak (gettimeofday) + +stub_warning (gettimeofday) #include -- cgit v1.2.3