summaryrefslogtreecommitdiffstats
path: root/uisimulator
diff options
context:
space:
mode:
authorLinus Nielsen Feltzing <linus@haxx.se>2005-07-12 10:05:13 +0000
committerLinus Nielsen Feltzing <linus@haxx.se>2005-07-12 10:05:13 +0000
commita19acbdadd036e0d2c1ca000661c86922f775d56 (patch)
treef8cbe3e665a8f886abc2058928e27374cb2c5b4b /uisimulator
parent4d71da006f490ae454d53dd1a74dad7481cb03c1 (diff)
downloadrockbox-a19acbdadd036e0d2c1ca000661c86922f775d56.tar.gz
rockbox-a19acbdadd036e0d2c1ca000661c86922f775d56.tar.bz2
rockbox-a19acbdadd036e0d2c1ca000661c86922f775d56.zip
Removed picky warnings
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7116 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'uisimulator')
-rw-r--r--uisimulator/win32/thread-win32.c2
-rw-r--r--uisimulator/x11/thread.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/uisimulator/win32/thread-win32.c b/uisimulator/win32/thread-win32.c
index c2e9cef42b..ca973b6662 100644
--- a/uisimulator/win32/thread-win32.c
+++ b/uisimulator/win32/thread-win32.c
@@ -32,7 +32,7 @@ DWORD WINAPI runthread (LPVOID lpParameter)
return 0;
}
-int create_thread(void* fp, void* sp, int stk_size)
+int create_thread(void (*fp)(void), void* sp, int stk_size)
{
DWORD dwThreadID;
diff --git a/uisimulator/x11/thread.c b/uisimulator/x11/thread.c
index 4288c0ffcb..41f1fad8a7 100644
--- a/uisimulator/x11/thread.c
+++ b/uisimulator/x11/thread.c
@@ -101,7 +101,7 @@ void newfunc(void (*func)(void))
}
-int create_thread(void* fp, void* sp, int stk_size)
+int create_thread(void (*fp)(void), void* sp, int stk_size)
{
pthread_t tid;
int i;