[PATCH] Fix symbol definitions for __clock_* functions

Roland McGrath roland@hack.frob.com
Mon Jun 10 20:54:00 GMT 2013


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



More information about the Libc-alpha mailing list