mirror of
https://git.rtems.org/rtems-libbsd/
synced 2025-06-30 05:59:13 +08:00
Move ticks definition
This commit is contained in:
parent
5d288bc6ee
commit
ea49a89a2c
@ -67,6 +67,9 @@ extern int profhz; /* profiling clock's frequency */
|
||||
extern int profprocs; /* number of process's profiling */
|
||||
#ifndef __rtems__
|
||||
extern int ticks;
|
||||
#else /* __rtems__ */
|
||||
#include <rtems/score/watchdogimpl.h>
|
||||
#define ticks _Watchdog_Ticks_since_boot
|
||||
#endif /* __rtems__ */
|
||||
|
||||
#endif /* _KERNEL */
|
||||
|
@ -109,9 +109,6 @@
|
||||
#define abs _bsd_abs
|
||||
#define labs _bsd_labs
|
||||
|
||||
#include <rtems/score/watchdogimpl.h>
|
||||
#define ticks _Watchdog_Ticks_since_boot
|
||||
|
||||
/* Debug */
|
||||
|
||||
void rtems_bsd_assert_func(const char *file, int line, const char *func, const char *expr);
|
||||
|
Loading…
x
Reference in New Issue
Block a user