summaryrefslogtreecommitdiffstats
path: root/cpukit/libblock/src/blkdev.c
diff options
context:
space:
mode:
authorRalf Corsepius <ralf.corsepius@rtems.org>2009-01-02 12:43:07 +0000
committerRalf Corsepius <ralf.corsepius@rtems.org>2009-01-02 12:43:07 +0000
commit31e2698797aff934f9d0466bb7cde4c4c8cbff23 (patch)
tree1963ddc53b39dafa51fbe8e632454018d0839617 /cpukit/libblock/src/blkdev.c
parent2009-01-02 Ralf Corsépius <ralf.corsepius@rtems.org> (diff)
downloadrtems-31e2698797aff934f9d0466bb7cde4c4c8cbff23.tar.bz2
Add __attribute__((unused)) to unused function args.
Diffstat (limited to 'cpukit/libblock/src/blkdev.c')
-rw-r--r--cpukit/libblock/src/blkdev.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/cpukit/libblock/src/blkdev.c b/cpukit/libblock/src/blkdev.c
index 1fd063720f..560ad224ec 100644
--- a/cpukit/libblock/src/blkdev.c
+++ b/cpukit/libblock/src/blkdev.c
@@ -153,7 +153,7 @@ rtems_device_driver
rtems_blkdev_generic_open(
rtems_device_major_number major,
rtems_device_minor_number minor,
- void * arg)
+ void * arg __attribute__((unused)))
{
dev_t dev;
rtems_disk_device *dd;
@@ -178,7 +178,7 @@ rtems_device_driver
rtems_blkdev_generic_close(
rtems_device_major_number major,
rtems_device_minor_number minor,
- void * arg)
+ void * arg __attribute__((unused)))
{
dev_t dev;
rtems_disk_device *dd;