From: Ulrich Drepper Date: Sun, 14 Apr 2002 09:11:55 +0000 (+0000) Subject: Use INTEDEF for __gettimeofday. X-Git-Tag: glibc-2.16-ports-before-merge~1703 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=4c7b01bd937caa3507a281d3debd6bdf2f5c502c;p=thirdparty%2Fglibc.git Use INTEDEF for __gettimeofday. --- diff --git a/sysdeps/unix/sysv/aix/gettimeofday.c b/sysdeps/unix/sysv/aix/gettimeofday.c index 031a84ebb60..a0105ae0801 100644 --- a/sysdeps/unix/sysv/aix/gettimeofday.c +++ b/sysdeps/unix/sysv/aix/gettimeofday.c @@ -1,4 +1,4 @@ -/* Copyright (C) 1991, 92, 94, 95, 96, 97, 2001 Free Software Foundation, Inc. +/* Copyright (C) 1991,92,94,95,96,97,2001,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 @@ -26,6 +26,8 @@ # define __tzname tzname #endif +#undef __gettimeofday + extern int rtc_upper (void); extern int rtc_lower (void); @@ -92,4 +94,5 @@ __gettimeofday (tv, tz) return 0; } +INTDEF(__gettimeofday) weak_alias (__gettimeofday, gettimeofday)