diff options
author | Daniel Cederman <cederman@gaisler.com> | 2015-03-12 09:04:20 +0100 |
---|---|---|
committer | Gedare Bloom <gedare@rtems.org> | 2015-03-12 10:02:33 -0400 |
commit | d88b0b78d779a5fbbb6db25e90095e50c5861f54 (patch) | |
tree | a3d246ada23669e0f55ec2bfb16738c12baa28e6 /cpukit/posix/src/munmap.c | |
parent | confdefs.h: Improve the Doxygen (diff) | |
download | rtems-d88b0b78d779a5fbbb6db25e90095e50c5861f54.tar.bz2 |
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/munmap.c')
-rw-r--r-- | cpukit/posix/src/munmap.c | 10 |
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; } |