diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2015-10-16 08:21:48 +0200 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2015-10-26 09:13:19 +0100 |
commit | f97536dcd310a1a15426dcd411d55367019879fc (patch) | |
tree | d37a1e12bac98a4df4a2dd70d5de3ee99f23d821 /cpukit/posix/src/mmap.c | |
parent | basdefs.h: Add and use RTEMS_DEPRECATED (diff) | |
download | rtems-f97536dcd310a1a15426dcd411d55367019879fc.tar.bz2 |
basdefs.h: Add and use RTEMS_UNUSED
Diffstat (limited to 'cpukit/posix/src/mmap.c')
-rw-r--r-- | cpukit/posix/src/mmap.c | 16 |
1 files changed, 11 insertions, 5 deletions
diff --git a/cpukit/posix/src/mmap.c b/cpukit/posix/src/mmap.c index 90c6d0af7a..1453ee0ba9 100644 --- a/cpukit/posix/src/mmap.c +++ b/cpukit/posix/src/mmap.c @@ -18,13 +18,19 @@ #include <sys/mman.h> void *mmap( - void *addr __attribute__((unused)), - size_t lenhth __attribute__((unused)), - int prot __attribute__((unused)), - int flags __attribute__((unused)), - int fildes __attribute__((unused)), + void *addr, + size_t lenhth, + int prot, + int flags, + int fildes, off_t off ) { + (void) addr; + (void) lenhth; + (void) prot; + (void) flags; + (void) fildes; + (void) off; return MAP_FAILED; } |