diff options
author | Pete Batard <pete@akeo.ie> | 2011-09-06 11:47:00 +0100 |
---|---|---|
committer | Pete Batard <pete@akeo.ie> | 2011-09-06 12:29:55 +0100 |
commit | 3fbf9a9b696599ccd74c2f84fc6fc5cca7c3105c (patch) | |
tree | b002d084b4f5dd0ed88b3b545b44a63297349fc3 | |
parent | a6479690a3717bc53e62614a68f063e315a50c08 (diff) | |
download | libusb-3fbf9a9b696599ccd74c2f84fc6fc5cca7c3105c.tar.gz |
[samples] return NULL in dpfp_threaded poll_thread_main to avoid Cygwin warning
-rw-r--r-- | examples/dpfp_threaded.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/dpfp_threaded.c b/examples/dpfp_threaded.c index 71baa6a..d13d50e 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) |