[rtems commit] libtests/block05: Fix warnings

Sebastian Huber sebh at rtems.org
Mon Jun 4 07:51:41 UTC 2012


Module:    rtems
Branch:    master
Commit:    b8ed6d8037048358f1851f9d93b78dcbd3711b04
Changeset: http://git.rtems.org/rtems/commit/?id=b8ed6d8037048358f1851f9d93b78dcbd3711b04

Author:    Sebastian Huber <sebastian.huber at embedded-brains.de>
Date:      Mon Jun  4 09:41:13 2012 +0200

libtests/block05: Fix warnings

---

 testsuites/libtests/block05/init.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/testsuites/libtests/block05/init.c b/testsuites/libtests/block05/init.c
index 3d221a9..dd5d646 100644
--- a/testsuites/libtests/block05/init.c
+++ b/testsuites/libtests/block05/init.c
@@ -151,11 +151,11 @@ static rtems_bdbuf_buffer *get(enum get_type type, enum blk_kind kind)
   rtems_bdbuf_buffer *bd = NULL;
   rtems_blkdev_bnum blk_index = 0;
   rtems_status_code (*get_bd)(
-    const rtems_disk_device *,
+    rtems_disk_device *,
     rtems_blkdev_bnum,
     rtems_bdbuf_buffer **
   ) = NULL;
-  const rtems_disk_device *dd = NULL;
+  rtems_disk_device *dd = NULL;
   size_t bds_per_group = 0;
 
   switch (kind) {




More information about the vc mailing list