diff options
author | Daniel Cederman <cederman@gaisler.com> | 2015-03-12 09:04:20 +0100 |
---|---|---|
committer | Daniel Hellstrom <daniel@gaisler.com> | 2015-03-12 10:31:32 +0100 |
commit | 22f1cf311d8f5d8a69bbc6b19680afede3abbb07 (patch) | |
tree | 2dffa91ddd653ddd8841d6f2ebeb8df35ef4fcd0 /cpukit/posix/src/mmap.c | |
parent | 76c6f7888e1cfbd96b5ea520317758c1fb21f241 (diff) |
posix: Move function to file with matching name
mmap was previously in munmap.c and munmap was in mmap.c.
Diffstat (limited to 'cpukit/posix/src/mmap.c')
-rw-r--r-- | cpukit/posix/src/mmap.c | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/cpukit/posix/src/mmap.c b/cpukit/posix/src/mmap.c index 2798326524..3ebb2f4f85 100644 --- a/cpukit/posix/src/mmap.c +++ b/cpukit/posix/src/mmap.c @@ -17,10 +17,14 @@ #include <sys/mman.h> -int munmap( +void *mmap( void *addr __attribute__((unused)), - size_t length __attribute__((unused)) + size_t lenhth __attribute__((unused)), + int prot __attribute__((unused)), + int flags __attribute__((unused)), + int fildes __attribute__((unused)), + off_t off ) { - return -1; + return NULL; } |