summaryrefslogtreecommitdiffstats
path: root/cpukit/libblock/include/rtems/bdbuf.h
diff options
context:
space:
mode:
authorRalf Corsepius <ralf.corsepius@rtems.org>2008-09-01 07:44:48 +0000
committerRalf Corsepius <ralf.corsepius@rtems.org>2008-09-01 07:44:48 +0000
commit4f971343a534e8480a3eb34eb6f5b25be373d17e (patch)
treef13080b4b8d993ece0c247c283cff194ed8db246 /cpukit/libblock/include/rtems/bdbuf.h
parent2008-09-01 Ralf Corsépius <ralf.corsepius@rtems.org> (diff)
downloadrtems-4f971343a534e8480a3eb34eb6f5b25be373d17e.tar.bz2
Convert to using "bool".
Diffstat (limited to 'cpukit/libblock/include/rtems/bdbuf.h')
-rw-r--r--cpukit/libblock/include/rtems/bdbuf.h11
1 files changed, 6 insertions, 5 deletions
diff --git a/cpukit/libblock/include/rtems/bdbuf.h b/cpukit/libblock/include/rtems/bdbuf.h
index 48915e9c16..d2968a6202 100644
--- a/cpukit/libblock/include/rtems/bdbuf.h
+++ b/cpukit/libblock/include/rtems/bdbuf.h
@@ -18,10 +18,6 @@
#ifndef _RTEMS_BDBUF_H
#define _RTEMS_BDBUF_H
-#ifdef __cplusplus
-extern "C" {
-#endif
-
#include <rtems.h>
#include <rtems/libio.h>
#include <rtems/chain.h>
@@ -29,6 +25,11 @@ extern "C" {
#include "rtems/blkdev.h"
#include "rtems/diskdevs.h"
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+
/**
* State of a buffer in the cache.
*/
@@ -94,7 +95,7 @@ typedef struct rtems_bdbuf_pool
rtems_id lock; /*< The pool lock. Lock this data and
* all BDs. */
rtems_id sync_lock; /*< Sync calls lock writes. */
- boolean sync_active; /*< True if a sync is active. */
+ bool sync_active; /*< True if a sync is active. */
rtems_id sync_requester; /*< The sync requester. */
dev_t sync_device; /*< The device to sync */