From b28f013119a70b16c9b2e37c863ba97147fbe494 Mon Sep 17 00:00:00 2001 From: gdisirio Date: Sat, 26 Jul 2008 09:47:22 +0000 Subject: git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@361 35acf78f-673a-0410-8e92-d51de3d6d3f4 --- src/include/condvars.h | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) (limited to 'src') diff --git a/src/include/condvars.h b/src/include/condvars.h index f5d3f56a6..30e40fc10 100644 --- a/src/include/condvars.h +++ b/src/include/condvars.h @@ -27,12 +27,10 @@ #ifdef CH_USE_CONDVARS -typedef struct CondVar CondVar; - -struct CondVar { +typedef struct CondVar { /** Queue of the threads sleeping on this CondVar. */ ThreadsQueue c_queue; -}; +} CondVar; #ifdef __cplusplus extern "C" { @@ -48,7 +46,6 @@ extern "C" { } #endif - #endif /* CH_USE_CONDVARS */ #endif /* _CONDVARS_H_ */ -- cgit v1.2.3