Put mremap into the _NETBSD_SOURCE section.

This commit is contained in:
ad 2008-11-18 22:13:49 +00:00
parent a223e59eb6
commit 0dd26b0a07

View File

@ -1,4 +1,4 @@
/* $NetBSD: mman.h,v 1.41 2008/05/05 03:12:24 rmind Exp $ */
/* $NetBSD: mman.h,v 1.42 2008/11/18 22:13:49 ad Exp $ */
/*-
* Copyright (c) 1982, 1986, 1993
@ -169,7 +169,6 @@ typedef __off_t off_t; /* file offset */
__BEGIN_DECLS
void * mmap(void *, size_t, int, int, int, off_t);
void * mremap(void *, size_t, void *, size_t, int);
int munmap(void *, size_t);
int mprotect(void *, size_t, int);
#ifndef __LIBC12_SOURCE__
@ -183,6 +182,7 @@ int munlockall(void);
int madvise(void *, size_t, int);
int mincore(void *, size_t, char *);
int minherit(void *, size_t, int);
void * mremap(void *, size_t, void *, size_t, int);
#endif
int posix_madvise(void *, size_t, int);
__END_DECLS