This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] Add hidden definition for __clock_gettime


I don't understand why we have __clock_gettime at all given the status quo.
That is, both __clock_gettime and clock_gettime are strong definitions, so
there is no benefit whatsoever in using the __ name rather than the public
name.  If there are calls to __clock_gettime from the implementations of
functions outside the name space that includes clock_gettime, then things
are already wrong.  So first we should resolve that: either we need
__clock_gettime as the strong definition and clock_gettime as only a weak
alias, or we don't need __clock_gettime at all.


Thanks,
Roland


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