[PATCH] RTEMS: Change _Timecounter_Time_uptime to int32_t

Sebastian Huber sebastian.huber at embedded-brains.de
Tue Oct 24 09:17:29 UTC 2017


Signed-off-by: Sebastian Huber <sebastian.huber at embedded-brains.de>
---
 newlib/libc/sys/rtems/include/machine/_time.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/newlib/libc/sys/rtems/include/machine/_time.h b/newlib/libc/sys/rtems/include/machine/_time.h
index dd69bd665..d9b7fbb7e 100644
--- a/newlib/libc/sys/rtems/include/machine/_time.h
+++ b/newlib/libc/sys/rtems/include/machine/_time.h
@@ -36,7 +36,7 @@
 
 __BEGIN_DECLS
 extern volatile time_t _Timecounter_Time_second;
-extern volatile time_t _Timecounter_Time_uptime;
+extern volatile int32_t _Timecounter_Time_uptime;
 extern struct bintime _Timecounter_Boottimebin;
 
 void	_Timecounter_Binuptime(struct bintime *);
-- 
2.12.3



More information about the devel mailing list