summaryrefslogtreecommitdiffstats
path: root/cpukit/posix/src/munmap.c
diff options
context:
space:
mode:
Diffstat (limited to 'cpukit/posix/src/munmap.c')
-rw-r--r--cpukit/posix/src/munmap.c10
1 files changed, 3 insertions, 7 deletions
diff --git a/cpukit/posix/src/munmap.c b/cpukit/posix/src/munmap.c
index 3ebb2f4f85..2798326524 100644
--- a/cpukit/posix/src/munmap.c
+++ b/cpukit/posix/src/munmap.c
@@ -17,14 +17,10 @@
#include <sys/mman.h>
-void *mmap(
+int munmap(
void *addr __attribute__((unused)),
- size_t lenhth __attribute__((unused)),
- int prot __attribute__((unused)),
- int flags __attribute__((unused)),
- int fildes __attribute__((unused)),
- off_t off
+ size_t length __attribute__((unused))
)
{
- return NULL;
+ return -1;
}