namespace cleanup in sys/mman.h

This commit is contained in:
Rich Felker 2011-03-03 00:32:15 -05:00
parent ebd7af6940
commit a53d2f3425
1 changed files with 3 additions and 1 deletions

View File

@ -25,8 +25,10 @@ int munlock (const void *, size_t);
int mlockall (int); int mlockall (int);
int munlockall (void); int munlockall (void);
/* linux extension */ #ifdef _GNU_SOURCE
void *mremap (void *, size_t, size_t, int, ...); void *mremap (void *, size_t, size_t, int, ...);
int madvise (void *, size_t, int);
#endif
int shm_open (const char *, int, mode_t); int shm_open (const char *, int, mode_t);
int shm_unlink (const char *); int shm_unlink (const char *);