This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [PATCH] Fix symbol definitions for __clock_* functions
- From: Roland McGrath <roland at hack dot frob dot com>
- To: Siddhesh Poyarekar <siddhesh at redhat dot com>
- Cc: libc-alpha at sourceware dot org
- Date: Mon, 10 Jun 2013 13:54:15 -0700 (PDT)
- Subject: Re: [PATCH] Fix symbol definitions for __clock_* functions
- References: <20130521145455 dot GL8927 at spoyarek dot pnq dot redhat dot com> <20130523191651 dot 0C1F82C0A1 at topped-with-meat dot com> <20130603113056 dot GQ2145 at spoyarek dot pnq dot redhat dot com>
> * include/time.h (__clock_gettime): Add hidden prototype.
Say "Add libc_hidden_proto" to be clear.
> * rt/clock_gettime.c (clock_gettime): Rename to
> __clock_gettime and add a weak alias.
> * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
These need to mention adding libc_hidden_def.
The change itself is fine.
Thanks,
Roland