fix macos compile issues (#22173)

* fix macos compile issues

* remove unused variable
This commit is contained in:
Daniel Honies
2023-10-12 04:13:19 +08:00
committed by GitHub
parent d2b3e7fe16
commit 476b5d5594
5 changed files with 5 additions and 7 deletions
+1 -1
View File
@@ -113,7 +113,7 @@ static void _sighandler(int sig_num)
*
****************************************************************************/
static void hrt_work_process()
static void hrt_work_process(void)
{
struct wqueue_s *wqueue = &g_hrt_work;
volatile struct work_s *work;
+1 -1
View File
@@ -338,7 +338,7 @@ int work_usrthread(int argc, char *argv[])
#endif /* CONFIG_SCHED_USRWORK */
uint32_t clock_systimer()
uint32_t clock_systimer(void)
{
//printf("clock_systimer: %0lx\n", hrt_absolute_time());
return (0x00000000ffffffff & hrt_absolute_time());