diff options
-rw-r--r-- | firmware/target/hosted/kernel-unix.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/firmware/target/hosted/kernel-unix.c b/firmware/target/hosted/kernel-unix.c index ed1f83cd8c..1ce4dd8a10 100644 --- a/firmware/target/hosted/kernel-unix.c +++ b/firmware/target/hosted/kernel-unix.c @@ -35,6 +35,8 @@ #include "panic.h" #include "timer.h" +/* Forward-declaration */ +void interrupt(void); static pthread_cond_t wfi_cond = PTHREAD_COND_INITIALIZER; static pthread_mutex_t wfi_mtx = PTHREAD_MUTEX_INITIALIZER; @@ -63,7 +65,6 @@ void interrupt(void) pthread_cond_signal(&wfi_cond); } - /* * setup a hrtimer to send a signal to our process every tick * |