__gettimeofday ?

Ulrich Drepper drepper@cygnus.com
Sat Jun 27 09:57:00 GMT 1998


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   `------------------------



More information about the Gcc-bugs mailing list