about summary refs log tree commit diff
path: root/src/include/sys
diff options
context:
space:
mode:
Diffstat (limited to 'src/include/sys')
-rw-r--r--src/include/sys/mman.h20
-rw-r--r--src/include/sys/sysinfo.h3
-rw-r--r--src/include/sys/time.h2
3 files changed, 13 insertions, 12 deletions
diff --git a/src/include/sys/mman.h b/src/include/sys/mman.h
index 28394dd5..57c5bd3d 100644
--- a/src/include/sys/mman.h
+++ b/src/include/sys/mman.h
@@ -3,18 +3,18 @@
 
 #include "../../../include/sys/mman.h"
 
-void __vm_wait(void);
-void __vm_lock(void);
-void __vm_unlock(void);
+hidden void __vm_wait(void);
+hidden void __vm_lock(void);
+hidden void __vm_unlock(void);
 
-void *__mmap(void *, size_t, int, int, int, off_t);
-int __munmap(void *, size_t);
-void *__mremap(void *, size_t, size_t, int, ...);
-int __madvise(void *, size_t, int);
-int __mprotect(void *, size_t, int);
+hidden void *__mmap(void *, size_t, int, int, int, off_t);
+hidden int __munmap(void *, size_t);
+hidden void *__mremap(void *, size_t, size_t, int, ...);
+hidden int __madvise(void *, size_t, int);
+hidden int __mprotect(void *, size_t, int);
 
-const unsigned char *__map_file(const char *, size_t *);
+hidden const unsigned char *__map_file(const char *, size_t *);
 
-char *__shm_mapname(const char *, char *);
+hidden char *__shm_mapname(const char *, char *);
 
 #endif
diff --git a/src/include/sys/sysinfo.h b/src/include/sys/sysinfo.h
index c3d60bfd..10be8a48 100644
--- a/src/include/sys/sysinfo.h
+++ b/src/include/sys/sysinfo.h
@@ -2,7 +2,8 @@
 #define SYS_SYSINFO_H
 
 #include "../../../include/sys/sysinfo.h"
+#include <features.h>
 
-int __lsysinfo(struct sysinfo *);
+hidden int __lsysinfo(struct sysinfo *);
 
 #endif
diff --git a/src/include/sys/time.h b/src/include/sys/time.h
index 79c5fcbc..fb9622e5 100644
--- a/src/include/sys/time.h
+++ b/src/include/sys/time.h
@@ -3,6 +3,6 @@
 
 #include "../../../include/sys/time.h"
 
-int __futimesat(int, const char *, const struct timeval [2]);
+hidden int __futimesat(int, const char *, const struct timeval [2]);
 
 #endif