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. --- sysdeps/posix/gettimeofday.c | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) (limited to 'sysdeps/posix/gettimeofday.c') diff --git a/sysdeps/posix/gettimeofday.c b/sysdeps/posix/gettimeofday.c index 31b3dd3fa1..1108ff0167 100644 --- a/sysdeps/posix/gettimeofday.c +++ b/sysdeps/posix/gettimeofday.c @@ -1,4 +1,4 @@ -/* Copyright (C) 1991,1992,1994-1997,2002,2005 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 @@ -19,8 +19,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. */ @@ -66,6 +64,6 @@ __gettimeofday (tv, tz) return 0; } - -INTDEF(__gettimeofday) +libc_hidden_def (__gettimeofday) weak_alias (__gettimeofday, gettimeofday) +libc_hidden_weak (gettimeofday) -- cgit 1.4.1