From 143c418d4e63ee0e3cc2a3772cfbdfc3c443eafa Mon Sep 17 00:00:00 2001 From: shatty Date: Sat, 28 Sep 2002 22:47:42 +0000 Subject: [PATCH] fixed warnings by changing the return type of the thread_func's to int32. "int" seems like a better return type choice, but it is int32 in both the Be headers and the OBOS headers, at least for now. git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1255 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- src/kernel/apps/testapp/main.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/kernel/apps/testapp/main.c b/src/kernel/apps/testapp/main.c index 6aa8220912..0820afd3cb 100644 --- a/src/kernel/apps/testapp/main.c +++ b/src/kernel/apps/testapp/main.c @@ -12,9 +12,9 @@ #include static void port_test(void); -static int port_test_thread_func(void* arg); +static int32 port_test_thread_func(void* arg); -static int test_thread(void *args) +static int32 test_thread(void *args) { int i = (int)args; @@ -25,18 +25,18 @@ static int test_thread(void *args) return 0; } -static int dummy_thread(void *args) +static int32 dummy_thread(void *args) { return 1; } -static int cpu_eater_thread(void *args) +static int32 cpu_eater_thread(void *args) { for(;;) ; } -static int fpu_cruncher_thread(void *args) +static int32 fpu_cruncher_thread(void *args) { double y = *(double *)args; double z; @@ -480,7 +480,7 @@ static void port_test(void) printf("porttest: end test main thread\n"); } -static int port_test_thread_func(void* arg) +static int32 port_test_thread_func(void* arg) { int msg_code; int n;