summaryrefslogtreecommitdiff
path: root/include/sys
diff options
context:
space:
mode:
Diffstat (limited to 'include/sys')
-rw-r--r--include/sys/ioctl.h1
-rw-r--r--include/sys/mman.h1
-rw-r--r--include/sys/poll.h1
-rw-r--r--include/sys/socket.h1
-rw-r--r--include/sys/stat.h3
-rw-r--r--include/sys/time.h1
6 files changed, 8 insertions, 0 deletions
diff --git a/include/sys/ioctl.h b/include/sys/ioctl.h
index 6d8a0f40b..528403e71 100644
--- a/include/sys/ioctl.h
+++ b/include/sys/ioctl.h
@@ -40,6 +40,7 @@ __BEGIN_DECLS
One argument may follow; its presence and type depend on REQUEST.
Return value depends on REQUEST. Usually -1 indicates error. */
extern int ioctl (int __fd, unsigned long int __request, ...) __THROW;
+libc_hidden_proto(ioctl)
__END_DECLS
diff --git a/include/sys/mman.h b/include/sys/mman.h
index 7640955d7..d8e2c7a93 100644
--- a/include/sys/mman.h
+++ b/include/sys/mman.h
@@ -57,6 +57,7 @@ __BEGIN_DECLS
#ifndef __USE_FILE_OFFSET64
extern void *mmap (void *__addr, size_t __len, int __prot,
int __flags, int __fd, __off_t __offset) __THROW;
+libc_hidden_proto(mmap)
#else
# ifdef __REDIRECT
extern void * __REDIRECT (mmap,
diff --git a/include/sys/poll.h b/include/sys/poll.h
index a298dac15..c786a778a 100644
--- a/include/sys/poll.h
+++ b/include/sys/poll.h
@@ -58,6 +58,7 @@ __BEGIN_DECLS
This function is a cancellation point and therefore not marked with
__THROW. */
extern int poll (struct pollfd *__fds, nfds_t __nfds, int __timeout);
+libc_hidden_proto(poll)
#if defined __USE_GNU && defined __UCLIBC_LINUX_SPECIFIC__
/* Like poll, but before waiting the threads signal mask is replaced
diff --git a/include/sys/socket.h b/include/sys/socket.h
index 4ae1ea980..5b1298f4c 100644
--- a/include/sys/socket.h
+++ b/include/sys/socket.h
@@ -98,6 +98,7 @@ typedef union { __SOCKADDR_ALLTYPES
protocol PROTOCOL. If PROTOCOL is zero, one is chosen automatically.
Returns a file descriptor for the new socket, or -1 for errors. */
extern int socket (int __domain, int __type, int __protocol) __THROW;
+libc_hidden_proto(socket)
/* Create two new sockets, of type TYPE in domain DOMAIN and using
protocol PROTOCOL, which are connected to each other, and put file
diff --git a/include/sys/stat.h b/include/sys/stat.h
index 508239050..20d0f4bad 100644
--- a/include/sys/stat.h
+++ b/include/sys/stat.h
@@ -206,10 +206,12 @@ __BEGIN_DECLS
/* Get file attributes for FILE and put them in BUF. */
extern int stat (__const char *__restrict __file,
struct stat *__restrict __buf) __THROW __nonnull ((1, 2));
+libc_hidden_proto(stat)
/* Get file attributes for the file, device, pipe, or socket
that file descriptor FD is open on and put them in BUF. */
extern int fstat (int __fd, struct stat *__buf) __THROW __nonnull ((2));
+libc_hidden_proto(fstat)
#else
# ifdef __REDIRECT_NTH
extern int __REDIRECT_NTH (stat, (__const char *__restrict __file,
@@ -258,6 +260,7 @@ extern int fstatat64 (int __fd, __const char *__restrict __file,
If FILE is a symbolic link, do not follow it. */
extern int lstat (__const char *__restrict __file,
struct stat *__restrict __buf) __THROW __nonnull ((1, 2));
+libc_hidden_proto(lstat)
# else
# ifdef __REDIRECT_NTH
extern int __REDIRECT_NTH (lstat,
diff --git a/include/sys/time.h b/include/sys/time.h
index 66fb9e021..73eeb2a2f 100644
--- a/include/sys/time.h
+++ b/include/sys/time.h
@@ -71,6 +71,7 @@ typedef void *__restrict __timezone_ptr_t;
Use the functions and variables declared in <time.h> instead. */
extern int gettimeofday (struct timeval *__restrict __tv,
__timezone_ptr_t __tz) __THROW __nonnull ((1));
+libc_hidden_proto(gettimeofday)
#ifdef __USE_BSD
/* Set the current time of day and timezone information.