diff options
author | Daniel Stenberg <daniel@haxx.se> | 2005-11-24 20:39:00 +0000 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2005-11-24 20:39:00 +0000 |
commit | afc2aa2b3fa1b4a4d1c9e40d5c2406ca002a969e (patch) | |
tree | ca4ca22fe81421bab968237f68518be2c7059364 /lib | |
parent | d055b269ed8e515933b75d2ee482b0307cdf8a0e (diff) |
Yang Tse: use static on file-private functions
Diffstat (limited to 'lib')
-rw-r--r-- | lib/hostthre.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/hostthre.c b/lib/hostthre.c index 028a36c61..c0ebbfc47 100644 --- a/lib/hostthre.c +++ b/lib/hostthre.c @@ -181,6 +181,7 @@ struct thread_sync_data { }; /* Destroy resolver thread synchronization data */ +static void destroy_thread_sync_data(struct thread_sync_data * tsd) { if (tsd->hostname) { @@ -202,6 +203,7 @@ void destroy_thread_sync_data(struct thread_sync_data * tsd) } /* Initialize resolver thread synchronization data */ +static BOOL init_thread_sync_data(struct thread_data * td, char * hostname, struct thread_sync_data * tsd) @@ -243,6 +245,7 @@ BOOL init_thread_sync_data(struct thread_data * td, } /* acquire resolver thread synchronization */ +static BOOL acquire_thread_sync(struct thread_sync_data * tsd) { /* is the thread initiator still waiting for us ? */ @@ -269,6 +272,7 @@ BOOL acquire_thread_sync(struct thread_sync_data * tsd) } /* release resolver thread synchronization */ +static void release_thread_sync(struct thread_sync_data * tsd) { ReleaseMutex(tsd->mutex_terminate); |