From 0e177f22fcc69d9aab6fb410e85f3413f478c94c Mon Sep 17 00:00:00 2001 From: Pete Batard Date: Wed, 19 Jan 2011 14:00:12 +0000 Subject: [PATCH] dpfp_threaded: return instead of pthread_exit() to avoid Cygwin warning --- examples/dpfp_threaded.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/dpfp_threaded.c b/examples/dpfp_threaded.c index e56ea88a..c3cac73f 100644 --- a/examples/dpfp_threaded.c +++ b/examples/dpfp_threaded.c @@ -91,7 +91,7 @@ static void *poll_thread_main(void *arg) } printf("poll thread shutting down\n"); - pthread_exit(NULL); + return NULL; } static int find_dpfp_device(void)