about summary refs log tree commit diff
diff options
context:
space:
mode:
authorRichard Nyberg <rnyberg@murmeldjur.se>2006-01-09 21:03:38 +0000
committerRichard Nyberg <rnyberg@murmeldjur.se>2006-01-09 21:03:38 +0000
commit0aa097548611b6eada065caf7eddb5a715904e74 (patch)
tree56f948c8788179cbf564a3cfea5c9a3060027cf7
parent350f8adc2d71d5aef7fd30e15910ecd0eb5fb01b (diff)
downloadbtpd-0aa097548611b6eada065caf7eddb5a715904e74.tar.gz
btpd-0aa097548611b6eada065caf7eddb5a715904e74.zip
Fix compiler warnings.
-rw-r--r--btpd/http.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/btpd/http.c b/btpd/http.c
index 34fc760..468778d 100644
--- a/btpd/http.c
+++ b/btpd/http.c
@@ -189,7 +189,7 @@ http_td_actions(void)
     pthread_mutex_unlock(&m_httpq_lock);
 }
 
-static void *
+static void
 http_td(void *arg)
 {
     fd_set rset, wset, eset;
@@ -226,5 +226,5 @@ http_init(void)
     errdie((m_curlh = curl_multi_init()) == NULL);
     errdie(pthread_mutex_init(&m_httpq_lock, NULL));
     errdie(pthread_cond_init(&m_httpq_cond, NULL));
-    errdie(pthread_create(&ret, NULL, http_td, NULL));
+    errdie(pthread_create(&ret, NULL, (void *(*)(void *))http_td, NULL));
 }