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 @@ | |||
35 | #include "panic.h" | 35 | #include "panic.h" |
36 | #include "timer.h" | 36 | #include "timer.h" |
37 | 37 | ||
38 | /* Forward-declaration */ | ||
39 | void interrupt(void); | ||
38 | 40 | ||
39 | static pthread_cond_t wfi_cond = PTHREAD_COND_INITIALIZER; | 41 | static pthread_cond_t wfi_cond = PTHREAD_COND_INITIALIZER; |
40 | static pthread_mutex_t wfi_mtx = PTHREAD_MUTEX_INITIALIZER; | 42 | static pthread_mutex_t wfi_mtx = PTHREAD_MUTEX_INITIALIZER; |
@@ -63,7 +65,6 @@ void interrupt(void) | |||
63 | pthread_cond_signal(&wfi_cond); | 65 | pthread_cond_signal(&wfi_cond); |
64 | } | 66 | } |
65 | 67 | ||
66 | |||
67 | /* | 68 | /* |
68 | * setup a hrtimer to send a signal to our process every tick | 69 | * setup a hrtimer to send a signal to our process every tick |
69 | * | 70 | * |