summaryrefslogtreecommitdiffstats
path: root/sys/sys/mman.h
diff options
context:
space:
mode:
Diffstat (limited to 'sys/sys/mman.h')
-rw-r--r--sys/sys/mman.h26
1 files changed, 13 insertions, 13 deletions
diff --git a/sys/sys/mman.h b/sys/sys/mman.h
index 7a9bd95..e63d2d8 100644
--- a/sys/sys/mman.h
+++ b/sys/sys/mman.h
@@ -136,24 +136,24 @@
__BEGIN_DECLS
#ifdef _P1003_1B_VISIBLE
-int mlockall __P((int));
-int munlockall __P((void));
-int shm_open __P((const char *, int, mode_t));
-int shm_unlink __P((const char *));
+int mlockall(int);
+int munlockall(void);
+int shm_open(const char *, int, mode_t);
+int shm_unlink(const char *);
#endif /* _P1003_1B_VISIBLE */
-int mlock __P((const void *, size_t));
+int mlock(const void *, size_t);
#ifndef _MMAP_DECLARED
#define _MMAP_DECLARED
-void * mmap __P((void *, size_t, int, int, int, off_t));
+void * mmap(void *, size_t, int, int, int, off_t);
#endif
-int mprotect __P((const void *, size_t, int));
-int msync __P((void *, size_t, int));
-int munlock __P((const void *, size_t));
-int munmap __P((void *, size_t));
+int mprotect(const void *, size_t, int);
+int msync(void *, size_t, int);
+int munlock(const void *, size_t);
+int munmap(void *, size_t);
#ifndef _POSIX_SOURCE
-int madvise __P((void *, size_t, int));
-int mincore __P((const void *, size_t, char *));
-int minherit __P((void *, size_t, int));
+int madvise(void *, size_t, int);
+int mincore(const void *, size_t, char *);
+int minherit(void *, size_t, int);
#endif
__END_DECLS
OpenPOWER on IntegriCloud