This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [PATCH] Add hidden definition for __clock_gettime
- From: Roland McGrath <roland at hack dot frob dot com>
- To: Rich Felker <dalias at aerifal dot cx>
- Cc: Siddhesh Poyarekar <siddhesh at redhat dot com>, libc-alpha at sourceware dot org
- Date: Thu, 23 May 2013 15:47:57 -0700 (PDT)
- Subject: Re: [PATCH] Add hidden definition for __clock_gettime
- References: <20130521145455 dot GL8927 at spoyarek dot pnq dot redhat dot com> <20130523191651 dot 0C1F82C0A1 at topped-with-meat dot com> <20130523201145 dot GR20323 at brightrain dot aerifal dot cx>
> time(), clock(), and several other functions outside the namespace for
> clock_gettime should probably be calling it.
That's a separate issue being discussed in another thread, and I am not at
all convinced.
> Whether they do, I'm not sure, but the namespace issue is real.
That's exactly wrong. For the name space issue, all that matters is what
calls from what other functions' implementations we actually have in the
code. We add __ names when we need them because of a manifest name space
issue in the actual code. When we don't actually need them, we should not
have them.
Thanks,
Roland