[rtems-libbsd commit] sys/time.h: Add missing define and declaration
Sebastian Huber
sebh at rtems.org
Wed May 20 08:17:33 UTC 2015
Module: rtems-libbsd
Branch: master
Commit: b45c75ce99e65c9683855e8f366df0365e716887
Changeset: http://git.rtems.org/rtems-libbsd/commit/?id=b45c75ce99e65c9683855e8f366df0365e716887
Author: Sebastian Huber <sebastian.huber at embedded-brains.de>
Date: Wed May 20 10:13:16 2015 +0200
sys/time.h: Add missing define and declaration
---
rtemsbsd/include/rtems/bsd/sys/time.h | 3 +++
1 file changed, 3 insertions(+)
diff --git a/rtemsbsd/include/rtems/bsd/sys/time.h b/rtemsbsd/include/rtems/bsd/sys/time.h
index b47a6f8..779d233 100644
--- a/rtemsbsd/include/rtems/bsd/sys/time.h
+++ b/rtemsbsd/include/rtems/bsd/sys/time.h
@@ -46,7 +46,10 @@
#define getbinuptime(_x) _Timecounter_Getbinuptime(_x)
#define getnanouptime(_x) _Timecounter_Getnanouptime(_x)
#define getmicrouptime(_x) _Timecounter_Getmicrouptime(_x)
+#define boottimebin _Timecounter_Boottimebin
#define time_second _Timecounter_Time_second
#define time_uptime _Timecounter_Time_uptime
+extern struct bintime _Timecounter_Boottimebin;
+
#endif /* _RTEMS_BSD_SYS_TIME_H_ */
More information about the vc
mailing list