aboutsummaryrefslogtreecommitdiffstats
path: root/src/include/condvars.h
diff options
context:
space:
mode:
authorgdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2008-07-26 09:47:22 +0000
committergdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2008-07-26 09:47:22 +0000
commitb28f013119a70b16c9b2e37c863ba97147fbe494 (patch)
treeb0994acd67b998a7d4e06363acb9ffc7c919aa39 /src/include/condvars.h
parent6ae1a6c88223d875f0dbd81066d4d8f40713b0a0 (diff)
downloadChibiOS-b28f013119a70b16c9b2e37c863ba97147fbe494.tar.gz
ChibiOS-b28f013119a70b16c9b2e37c863ba97147fbe494.tar.bz2
ChibiOS-b28f013119a70b16c9b2e37c863ba97147fbe494.zip
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@361 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'src/include/condvars.h')
-rw-r--r--src/include/condvars.h7
1 files changed, 2 insertions, 5 deletions
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_ */