summaryrefslogtreecommitdiffstats
path: root/cpukit/libblock/include/rtems/blkdev.h
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2014-04-14 12:41:57 +0200
committerSebastian Huber <sebastian.huber@embedded-brains.de>2014-04-15 08:37:11 +0200
commitdc18190be4bdfa5b0fc297760f64e7915c131ff3 (patch)
treef7845c41cbc9ab8f1292571eabec07f33fc5126a /cpukit/libblock/include/rtems/blkdev.h
parentsp74.doc: Correct minor typos (diff)
downloadrtems-dc18190be4bdfa5b0fc297760f64e7915c131ff3.tar.bz2
score: Add and use RTEMS_ZERO_LENGTH_ARRAY
Diffstat (limited to 'cpukit/libblock/include/rtems/blkdev.h')
-rw-r--r--cpukit/libblock/include/rtems/blkdev.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/cpukit/libblock/include/rtems/blkdev.h b/cpukit/libblock/include/rtems/blkdev.h
index f934871412..d17cadc796 100644
--- a/cpukit/libblock/include/rtems/blkdev.h
+++ b/cpukit/libblock/include/rtems/blkdev.h
@@ -142,7 +142,7 @@ typedef struct rtems_blkdev_request {
/**
* List of scatter or gather buffers.
*/
- rtems_blkdev_sg_buffer bufs[0];
+ rtems_blkdev_sg_buffer bufs[RTEMS_ZERO_LENGTH_ARRAY];
} rtems_blkdev_request;
/**