Skip to content

Commit

Permalink
fix build warning for kernel v6.4+
Browse files Browse the repository at this point in the history
  • Loading branch information
5kft committed Dec 1, 2023
1 parent a6b0759 commit e7363dc
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions include/osdep_service.h
Original file line number Diff line number Diff line change
Expand Up @@ -408,7 +408,11 @@ static __inline void thread_enter(char *name)
printf("%s", "RTKTHREAD_enter");
#endif
}
#if (LINUX_VERSION_CODE >= KERNEL_VERSION(6, 4, 0))
void __noreturn thread_exit(_completion *comp);
#else
void thread_exit(_completion *comp);
#endif
void _rtw_init_completion(_completion *comp);
void _rtw_wait_for_comp_timeout(_completion *comp);
void _rtw_wait_for_comp(_completion *comp);
Expand Down

0 comments on commit e7363dc

Please sign in to comment.