This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: __gettimeofday ?


fnf@ninemoons.com (Fred Fish) writes:

> Why does mkstemp.c call __gettimeofday instead of just gettimeofday.
> I just grepped the entire current egcs tree and that is the only
> place this string occurs (and it ends up as unresolved at link time).

Because Jeff took the file from glibc where it has to be done this way
to be namespace clean.  There is no problem with dropping the __ at
user level.

-- 
---------------.      drepper at gnu.org  ,-.   1325 Chesapeake Terrace
Ulrich Drepper  \    ,-------------------'   \  Sunnyvale, CA 94089 USA
Cygnus Solutions `--' drepper at cygnus.com   `------------------------


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]