Skip to content

Commit

Permalink
Define a function prototype for YieldProcessor (dotnet#109028)
Browse files Browse the repository at this point in the history
  • Loading branch information
jkoritzinsky authored Oct 19, 2024
1 parent 58c8191 commit dfc2b85
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/native/minipal/time.c
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,9 @@ int64_t minipal_hires_tick_frequency()
#include <time.h> // nanosleep
#include <errno.h>

inline static void YieldProcessor()
inline static void YieldProcessor(void);

inline static void YieldProcessor(void)
{
#if defined(HOST_X86) || defined(HOST_AMD64)
__asm__ __volatile__(
Expand Down

0 comments on commit dfc2b85

Please sign in to comment.