diff options
author | Pete Batard <pbatard@gmail.com> | 2011-01-19 14:00:12 +0000 |
---|---|---|
committer | Peter Stuge <peter@stuge.se> | 2011-06-13 22:05:34 +0200 |
commit | 0e177f22fcc69d9aab6fb410e85f3413f478c94c (patch) | |
tree | deee4864e4f0d5bbe3fc546c1d769b774f34dc92 /examples | |
parent | e65878f21b0a0bb96debcb292dc03ce3c4ebb701 (diff) | |
download | libusb-0e177f22fcc69d9aab6fb410e85f3413f478c94c.tar.gz |
dpfp_threaded: return instead of pthread_exit() to avoid Cygwin warning
Diffstat (limited to 'examples')
-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 e56ea88..c3cac73 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) |