From 010261b639e50748b720e5d3c0f2c8a177326516 Mon Sep 17 00:00:00 2001 From: "N.N." Date: Tue, 26 May 2009 06:42:53 +0000 Subject: remove warning svn path=/trunk/; revision=11511 --- desiredata/src/s_inter.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/desiredata/src/s_inter.c b/desiredata/src/s_inter.c index f0e41524..73635fc8 100644 --- a/desiredata/src/s_inter.c +++ b/desiredata/src/s_inter.c @@ -683,6 +683,7 @@ static pthread_cond_t watchdog_cond = PTHREAD_COND_INITIALIZER; static void *watchdog_thread(void *); /* start a high priority watchdog thread */ +#ifndef MSW static int sys_start_watchdog_thread() { pthread_attr_t w_attr; main_pd_thread = pthread_self(); @@ -691,7 +692,7 @@ static int sys_start_watchdog_thread() { int status = pthread_create(&watchdog_id, &w_attr, (void*(*)(void*)) watchdog_thread, NULL); return status; /* what is this function supposed to return anyway? it tried returning void though declared as int */ } - +#endif #ifdef MSW int gettimeofday (struct timeval *tv, void *tz); #endif -- cgit v1.2.1