aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>2006-07-31 05:57:52 +0000
committerRoland McGrath <roland@gnu.org>2006-07-31 05:57:52 +0000
commitb32e6700d0a114c0132bd94cc1b49332a364dc8c (patch)
tree96e89ae71927b90ac0f037775a9a26af1129a122
parent* locale/programs/localedef.c (add_to_readlist): Rename local (diff)
downloadglibc-b32e6700d0a114c0132bd94cc1b49332a364dc8c.tar.gz
glibc-b32e6700d0a114c0132bd94cc1b49332a364dc8c.tar.bz2
glibc-b32e6700d0a114c0132bd94cc1b49332a364dc8c.zip
2006-07-30 Roland McGrath <roland@redhat.com>
* include/unistd.h (__pause_nocancel): Add attribute_hidden. * include/time.h (__nanosleep_nocancel): Likewise.
-rw-r--r--include/time.h5
-rw-r--r--include/unistd.h2
2 files changed, 4 insertions, 3 deletions
diff --git a/include/time.h b/include/time.h
index f2a6489efd..d71f985014 100644
--- a/include/time.h
+++ b/include/time.h
@@ -81,9 +81,10 @@ extern long int __tzname_max (void);
extern int __nanosleep (__const struct timespec *__requested_time,
struct timespec *__remaining);
+libc_hidden_proto (__nanosleep)
extern int __nanosleep_nocancel (__const struct timespec *__requested_time,
- struct timespec *__remaining);
-libc_hidden_proto(__nanosleep)
+ struct timespec *__remaining)
+ attribute_hidden;
extern int __getdate_r (__const char *__string, struct tm *__resbufp);
diff --git a/include/unistd.h b/include/unistd.h
index fb7a044b57..f34d53f223 100644
--- a/include/unistd.h
+++ b/include/unistd.h
@@ -163,6 +163,6 @@ extern __pid_t __libc_fork (void);
This always returns -1 and sets `errno' to EINTR. */
extern int __libc_pause (void);
/* Not cancelable variant. */
-extern int __pause_nocancel (void);
+extern int __pause_nocancel (void) attribute_hidden;
#endif