aboutsummaryrefslogtreecommitdiffstats
path: root/src/include
diff options
context:
space:
mode:
authorgdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2008-09-05 13:04:28 +0000
committergdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2008-09-05 13:04:28 +0000
commit517440bad9d6d2f27689e4e3de72794d869d2c26 (patch)
tree708b9c043e826287a684eaac55315053ad48e0e5 /src/include
parent737c82e787472f325fe22f7cbfe82ef8be8a6a66 (diff)
downloadChibiOS-517440bad9d6d2f27689e4e3de72794d869d2c26.tar.gz
ChibiOS-517440bad9d6d2f27689e4e3de72794d869d2c26.tar.bz2
ChibiOS-517440bad9d6d2f27689e4e3de72794d869d2c26.zip
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@425 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'src/include')
-rw-r--r--src/include/sleep.h2
-rw-r--r--src/include/threads.h3
2 files changed, 3 insertions, 2 deletions
diff --git a/src/include/sleep.h b/src/include/sleep.h
index c718bb4ba..36ba9470a 100644
--- a/src/include/sleep.h
+++ b/src/include/sleep.h
@@ -28,9 +28,7 @@
#ifdef __cplusplus
extern "C" {
#endif
-#ifdef CH_USE_SLEEP
void chThdSleep(systime_t time);
-#endif /* CH_USE_SLEEP */
#ifdef CH_USE_SYSTEMTIME
bool_t chSysInTimeWindow(systime_t start, systime_t end);
#endif /* CH_USE_SYSTEMTIME */
diff --git a/src/include/threads.h b/src/include/threads.h
index 2a53cb1fd..8c3974820 100644
--- a/src/include/threads.h
+++ b/src/include/threads.h
@@ -106,6 +106,9 @@ struct Thread {
/** Thread's own, non-inherited, priority. */
tprio_t p_realprio;
#endif
+#ifdef CH_USE_THREAD_EXT
+ THREAD_EXT_FIELDS
+#endif
};
/** Thread state: Ready to run, waiting on the ready list.*/