This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: __gettimeofday ?
- To: egcs-bugs at cygnus dot com
- Subject: Re: __gettimeofday ?
- From: Ulrich Drepper <drepper at cygnus dot com>
- Date: 27 Jun 1998 09:37:06 -0700
- Newsgroups: cygnus.egcs.bugs
- Organization: Cygnus Solutions
- References: <199806271552.IAA15479.cygnus.egcs.bugs@ninemoons.com>
- Reply-To: drepper at cygnus dot com (Ulrich Drepper)
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 `------------------------