dpfp_threaded: return instead of pthread_exit() to avoid Cygwin warning
authorPete Batard <pbatard@gmail.com>
Wed, 19 Jan 2011 14:00:12 +0000 (14:00 +0000)
committerPeter Stuge <peter@stuge.se>
Mon, 13 Jun 2011 20:05:34 +0000 (22:05 +0200)
examples/dpfp_threaded.c

index e56ea88..c3cac73 100644 (file)
@@ -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)