summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSolomon Peachy <pizza@shaftnet.org>2020-07-07 14:11:26 -0400
committerSolomon Peachy <pizza@shaftnet.org>2020-07-07 18:34:14 +0000
commit7381e8bd4dcaa65b0993bdc0a6b22e4455553898 (patch)
tree75e1797770f3f7359f051ed662089f578c632d93
parent92a529b4d1a962b182f749b94debf62a0aefbc56 (diff)
downloadrockbox-7381e8bd4dcaa65b0993bdc0a6b22e4455553898.tar.gz
rockbox-7381e8bd4dcaa65b0993bdc0a6b22e4455553898.tar.bz2
rockbox-7381e8bd4dcaa65b0993bdc0a6b22e4455553898.zip
yp-r0: Silence a build warning in simulator build.
Change-Id: I024b6393d778261da151c9756ed38230054b0e7b
-rw-r--r--firmware/target/hosted/kernel-unix.c3
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
*