aboutsummaryrefslogtreecommitdiffstats
path: root/src/include/sleep.h
diff options
context:
space:
mode:
authorgdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2007-10-06 08:58:52 +0000
committergdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2007-10-06 08:58:52 +0000
commitd6d799ed48f8193bee286187132221f831726a07 (patch)
tree928f9db3dbb76cfdef92405635b8d1b7885e5b5e /src/include/sleep.h
parentff4dd3f8f0f95652f754ab869b136d31d671ac51 (diff)
downloadChibiOS-d6d799ed48f8193bee286187132221f831726a07.tar.gz
ChibiOS-d6d799ed48f8193bee286187132221f831726a07.tar.bz2
ChibiOS-d6d799ed48f8193bee286187132221f831726a07.zip
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@39 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'src/include/sleep.h')
-rw-r--r--src/include/sleep.h17
1 files changed, 9 insertions, 8 deletions
diff --git a/src/include/sleep.h b/src/include/sleep.h
index 265500908..e3fa2ffda 100644
--- a/src/include/sleep.h
+++ b/src/include/sleep.h
@@ -25,18 +25,19 @@
#ifndef _SLEEP_H_
#define _SLEEP_H_
+#ifdef __cplusplus
+extern "C" {
+#endif
#ifdef CH_USE_SLEEP
-
-void chThdSleep(t_time time);
-
+ void chThdSleep(t_time time);
#ifdef CH_USE_SYSTEMTIME
-
-void chThdSleepUntil(t_time time);
-t_time chSysGetTime(void);
-
+ void chThdSleepUntil(t_time time);
+ t_time chSysGetTime(void);
#endif /* CH_USE_SYSTEMTIME */
-
#endif /* CH_USE_SLEEP */
+#ifdef __cplusplus
+}
+#endif
#endif /* _SLEEP_H_ */