summaryrefslogtreecommitdiff
path: root/include/sys/mman.h
diff options
context:
space:
mode:
authorBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2008-11-15 15:38:10 +0000
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2008-11-15 15:38:10 +0000
commit17e9e1b9d5c22eaa5a48f8ea196c801099576c7f (patch)
tree3fd730a0d91df3022abd01848a13cfcaf4fae059 /include/sys/mman.h
parent2fa869ff395997837954df74858cdd5a82c42c05 (diff)
- Remove linux-specific prototypes if asked to.
Diffstat (limited to 'include/sys/mman.h')
-rw-r--r--include/sys/mman.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/sys/mman.h b/include/sys/mman.h
index 10471e683..7640955d7 100644
--- a/include/sys/mman.h
+++ b/include/sys/mman.h
@@ -157,11 +157,13 @@ extern int mincore (void *__start, size_t __len, unsigned char *__vec)
extern void *mremap (void *__addr, size_t __old_len, size_t __new_len,
int __flags, ...) __THROW;
+#ifdef __UCLIBC_LINUX_SPECIFIC__
/* Remap arbitrary pages of a shared backing store within an existing
VMA. */
extern int remap_file_pages (void *__start, size_t __size, int __prot,
size_t __pgoff, int __flags) __THROW;
#endif
+#endif
/* Open shared memory segment. */