aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/errno.h5
-rw-r--r--include/netdb.h1
-rw-r--r--include/resolv.h1
-rw-r--r--include/signal.h2
-rw-r--r--include/sys/socket.h1
-rw-r--r--include/unistd.h1
6 files changed, 11 insertions, 0 deletions
diff --git a/include/errno.h b/include/errno.h
index 05888c1363..1b0aabc690 100644
--- a/include/errno.h
+++ b/include/errno.h
@@ -35,6 +35,11 @@ extern __thread int errno attribute_tls_model_ie;
# define __set_errno(val) (errno = (val))
+# ifndef __ASSEMBLER__
+extern int *__errno_location (void) __THROW __attribute__ ((__const__));
+libc_hidden_proto (__errno_location)
+# endif
+
#endif /* _ERRNO_H */
#endif /* ! _ERRNO_H */
diff --git a/include/netdb.h b/include/netdb.h
index 54cdda1eea..7b446058a1 100644
--- a/include/netdb.h
+++ b/include/netdb.h
@@ -37,6 +37,7 @@ libc_hidden_proto (getaddrinfo)
libc_hidden_proto (getnameinfo)
libc_hidden_proto (freeaddrinfo)
libc_hidden_proto (gai_strerror)
+libc_hidden_proto (__h_errno_location)
/* Document internal interfaces. */
extern int __gethostent_r (struct hostent *__restrict __result_buf,
diff --git a/include/resolv.h b/include/resolv.h
index 8b5b852647..f9635dd87d 100644
--- a/include/resolv.h
+++ b/include/resolv.h
@@ -46,6 +46,7 @@ extern int res_ourserver_p (const res_state __statp,
const struct sockaddr_in6 *__inp);
libc_hidden_proto (__res_ninit)
libc_hidden_proto (__res_randomid)
+libc_hidden_proto (__res_state)
int __libc_res_nquery (res_state, const char *, int, int, u_char *, int,
u_char **);
diff --git a/include/signal.h b/include/signal.h
index 0b6aef6522..b03b1a3ec4 100644
--- a/include/signal.h
+++ b/include/signal.h
@@ -9,6 +9,8 @@ libc_hidden_proto (sigfillset)
libc_hidden_proto (sigismember)
libc_hidden_proto (__sigpause)
libc_hidden_proto (raise)
+libc_hidden_proto (__libc_current_sigrtmin)
+libc_hidden_proto (__libc_current_sigrtmax)
/* Now define the internal interfaces. */
extern __sighandler_t __bsd_signal (int __sig, __sighandler_t __handler);
diff --git a/include/sys/socket.h b/include/sys/socket.h
index f943e9b80b..05798095f8 100644
--- a/include/sys/socket.h
+++ b/include/sys/socket.h
@@ -118,6 +118,7 @@ extern int __listen (int __fd, int __n) attribute_hidden;
extern int __libc_accept (int __fd, __SOCKADDR_ARG __addr,
socklen_t *__restrict __addr_len)
__THROW;
+libc_hidden_proto (accept)
/* Return the length of a `sockaddr' structure. */
#ifdef _HAVE_SA_LEN
diff --git a/include/unistd.h b/include/unistd.h
index 7481af7bc7..eba14514c1 100644
--- a/include/unistd.h
+++ b/include/unistd.h
@@ -21,6 +21,7 @@ extern int __access (__const char *__name, int __type);
extern int __euidaccess (__const char *__name, int __type);
extern __off64_t __lseek64 (int __fd, __off64_t __offset, int __whence);
extern __off_t __lseek (int __fd, __off_t __offset, int __whence);
+libc_hidden_proto (__lseek)
extern __off_t __libc_lseek (int __fd, __off_t __offset, int __whence);
extern __off64_t __libc_lseek64 (int __fd, __off64_t __offset, int __whence);
extern ssize_t __pread (int __fd, void *__buf, size_t __nbytes,