From 4f971343a534e8480a3eb34eb6f5b25be373d17e Mon Sep 17 00:00:00 2001 From: Ralf Corsepius Date: Mon, 1 Sep 2008 07:44:48 +0000 Subject: Convert to using "bool". --- cpukit/libblock/include/rtems/bdbuf.h | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) (limited to 'cpukit/libblock/include/rtems/bdbuf.h') 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 #include #include @@ -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 */ -- cgit v1.2.3