diff options
author | Solomon Peachy <pizza@shaftnet.org> | 2020-07-07 14:11:26 -0400 |
---|---|---|
committer | Solomon Peachy <pizza@shaftnet.org> | 2020-07-07 18:34:14 +0000 |
commit | 7381e8bd4dcaa65b0993bdc0a6b22e4455553898 (patch) | |
tree | 75e1797770f3f7359f051ed662089f578c632d93 | |
parent | 92a529b4d1a962b182f749b94debf62a0aefbc56 (diff) | |
download | rockbox-7381e8bd4dcaa65b0993bdc0a6b22e4455553898.tar.gz rockbox-7381e8bd4dcaa65b0993bdc0a6b22e4455553898.zip |
yp-r0: Silence a build warning in simulator build.
Change-Id: I024b6393d778261da151c9756ed38230054b0e7b
-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 | * |