summaryrefslogtreecommitdiffstats
path: root/cpukit/posix/src
diff options
context:
space:
mode:
authorGedare Bloom <gedare@rtems.org>2016-07-29 15:28:49 -0400
committerGedare Bloom <gedare@rtems.org>2017-01-13 11:05:56 -0500
commite7eeb38d23b990c5d64ad395cddad0b091f29f90 (patch)
tree4bddc87065aa7f5e5b89e4d249ded5f0f92dc61d /cpukit/posix/src
parentconfigure: Remove __RTEMS_DO_NOT_INLINE_THREAD_* (diff)
downloadrtems-e7eeb38d23b990c5d64ad395cddad0b091f29f90.tar.bz2
posix: move sys/mman.h to newlib and test it in psxhdrs
Diffstat (limited to 'cpukit/posix/src')
-rw-r--r--cpukit/posix/src/mprotect.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/cpukit/posix/src/mprotect.c b/cpukit/posix/src/mprotect.c
index 7158383f95..13017ce27c 100644
--- a/cpukit/posix/src/mprotect.c
+++ b/cpukit/posix/src/mprotect.c
@@ -31,7 +31,7 @@
#include <sys/mman.h>
int mprotect(
- void *addr,
+ const void *addr,
size_t len,
int prot
)