diff options
author | mike <mike@FreeBSD.org> | 2002-09-13 18:29:15 +0000 |
---|---|---|
committer | mike <mike@FreeBSD.org> | 2002-09-13 18:29:15 +0000 |
commit | 1162fbef382d5e4e082f4ac892ecb7945c514fda (patch) | |
tree | 87fb0634ff1a9cab6a68d352a32eb5be8c3ec63c /sys | |
parent | c8ada7e7540f14bc609ee4f0b499579fcf9ba7f1 (diff) | |
download | FreeBSD-src-1162fbef382d5e4e082f4ac892ecb7945c514fda.zip FreeBSD-src-1162fbef382d5e4e082f4ac892ecb7945c514fda.tar.gz |
mlockall() and munlockall() are unimplemented; remove their prototypes.
Diffstat (limited to 'sys')
-rw-r--r-- | sys/sys/mman.h | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/sys/sys/mman.h b/sys/sys/mman.h index d75ae30d..71ac90c 100644 --- a/sys/sys/mman.h +++ b/sys/sys/mman.h @@ -159,8 +159,8 @@ typedef __size_t size_t; __BEGIN_DECLS /* - * XXX not yet implemented: posix_madvise(), posix_mem_offset(), - * posix_typed_mem_get_info(), posix_typed_mem_open(). + * XXX not yet implemented: mlockall(), munlockall(), posix_madvise(), + * posix_mem_offset(), posix_typed_mem_get_info(), posix_typed_mem_open(). */ #if __BSD_VISIBLE int madvise(void *, size_t, int); @@ -168,9 +168,6 @@ int mincore(const void *, size_t, char *); int minherit(void *, size_t, int); #endif int mlock(const void *, size_t); -#if __POSIX_VISIBLE >= 199309 -int mlockall(int); -#endif #ifndef _MMAP_DECLARED #define _MMAP_DECLARED void * mmap(void *, size_t, int, int, int, off_t); @@ -178,9 +175,6 @@ void * mmap(void *, size_t, int, int, int, off_t); int mprotect(const void *, size_t, int); int msync(void *, size_t, int); int munlock(const void *, size_t); -#if __POSIX_VISIBLE >= 199309 -int munlockall(void); -#endif int munmap(void *, size_t); #if __POSIX_VISIBLE >= 199309 int shm_open(const char *, int, mode_t); |