diff options
Diffstat (limited to 'ot_livesync.c')
-rw-r--r-- | ot_livesync.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/ot_livesync.c b/ot_livesync.c index 382f702..92c947c 100644 --- a/ot_livesync.c +++ b/ot_livesync.c | |||
@@ -8,9 +8,6 @@ | |||
8 | #include <sys/uio.h> | 8 | #include <sys/uio.h> |
9 | #include <string.h> | 9 | #include <string.h> |
10 | #include <pthread.h> | 10 | #include <pthread.h> |
11 | #ifdef WANT_THREAD_NAME_NP | ||
12 | #include <pthread_np.h> | ||
13 | #endif | ||
14 | 11 | ||
15 | /* Libowfat */ | 12 | /* Libowfat */ |
16 | #include "socket.h" | 13 | #include "socket.h" |
@@ -56,9 +53,6 @@ void livesync_init( ) { | |||
56 | livesync_lastpacket_time = g_now; | 53 | livesync_lastpacket_time = g_now; |
57 | 54 | ||
58 | pthread_create( &thread_id, NULL, livesync_worker, NULL ); | 55 | pthread_create( &thread_id, NULL, livesync_worker, NULL ); |
59 | #ifdef WANT_THREAD_NAME_NP | ||
60 | pthread_set_name_np( thread_id, "opentracker (livesync)"); | ||
61 | #endif | ||
62 | } | 56 | } |
63 | 57 | ||
64 | void livesync_deinit() { | 58 | void livesync_deinit() { |