diff options
author | Ralf Corsepius <ralf.corsepius@rtems.org> | 2009-01-02 13:04:13 +0000 |
---|---|---|
committer | Ralf Corsepius <ralf.corsepius@rtems.org> | 2009-01-02 13:04:13 +0000 |
commit | 031deada15098e68ae1912f1c6963c433153b9e3 (patch) | |
tree | 80ac645d4f4410b2002241cd6d2c85a8283702b2 /cpukit/libmisc/mw-fb | |
parent | 2009-01-02 Ralf Corsépius <ralf.corsepius@rtems.org> (diff) | |
download | rtems-031deada15098e68ae1912f1c6963c433153b9e3.tar.bz2 |
Add __attribute__((unused)) to unused function args.
Diffstat (limited to 'cpukit/libmisc/mw-fb')
-rw-r--r-- | cpukit/libmisc/mw-fb/mw_fb.c | 6 | ||||
-rw-r--r-- | cpukit/libmisc/mw-fb/mw_uid.c | 2 |
2 files changed, 4 insertions, 4 deletions
diff --git a/cpukit/libmisc/mw-fb/mw_fb.c b/cpukit/libmisc/mw-fb/mw_fb.c index 5f3e3e03f4..874c21503c 100644 --- a/cpukit/libmisc/mw-fb/mw_fb.c +++ b/cpukit/libmisc/mw-fb/mw_fb.c @@ -101,10 +101,10 @@ * device and maps it to the user space address. */ int ufb_mmap_to_user_space( - int fd, + int fd __attribute__((unused)), void **fb_addr, void *physical_addr, - unsigned long size + unsigned long size __attribute__((unused)) ) { #ifdef __rtems__ @@ -127,7 +127,7 @@ /* * This function unmaps memory of the FB from the user's space */ - int ufb_unmmap_from_user_space( int fd, void *addr ) + int ufb_unmmap_from_user_space( int fd __attribute__((unused)), void *addr __attribute__((unused))) { return 0; } diff --git a/cpukit/libmisc/mw-fb/mw_uid.c b/cpukit/libmisc/mw-fb/mw_uid.c index 41b0583ada..dcf0e9d9cb 100644 --- a/cpukit/libmisc/mw-fb/mw_uid.c +++ b/cpukit/libmisc/mw-fb/mw_uid.c @@ -32,7 +32,7 @@ static int open_count = 0; */ /* open a message queue with the kernel */ -int uid_open_queue( const char *q_name, int flags, size_t max_msgs ) +int uid_open_queue( const char *q_name, int flags __attribute__((unused)), size_t max_msgs ) { static rtems_name queue_name; |