2006-07-30 Roland McGrath <roland@redhat.com>

* include/unistd.h (__pause_nocancel): Add attribute_hidden.
	* include/time.h (__nanosleep_nocancel): Likewise.
This commit is contained in:
Roland McGrath 2006-07-31 05:57:52 +00:00
parent c10d32c834
commit b32e6700d0
2 changed files with 4 additions and 3 deletions

View File

@ -81,9 +81,10 @@ extern long int __tzname_max (void);
extern int __nanosleep (__const struct timespec *__requested_time, extern int __nanosleep (__const struct timespec *__requested_time,
struct timespec *__remaining); struct timespec *__remaining);
libc_hidden_proto (__nanosleep)
extern int __nanosleep_nocancel (__const struct timespec *__requested_time, extern int __nanosleep_nocancel (__const struct timespec *__requested_time,
struct timespec *__remaining); struct timespec *__remaining)
libc_hidden_proto(__nanosleep) attribute_hidden;
extern int __getdate_r (__const char *__string, struct tm *__resbufp); extern int __getdate_r (__const char *__string, struct tm *__resbufp);

View File

@ -163,6 +163,6 @@ extern __pid_t __libc_fork (void);
This always returns -1 and sets `errno' to EINTR. */ This always returns -1 and sets `errno' to EINTR. */
extern int __libc_pause (void); extern int __libc_pause (void);
/* Not cancelable variant. */ /* Not cancelable variant. */
extern int __pause_nocancel (void); extern int __pause_nocancel (void) attribute_hidden;
#endif #endif