mirror of
https://gitlab.xiph.org/xiph/icecast-common.git
synced 2025-06-30 22:18:29 -04:00
Fix: Corrected prototypes
This commit is contained in:
parent
4c8da7bdc4
commit
04e4f7eb60
@ -268,8 +268,8 @@ static void _catch_signals(void)
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
thread_type *thread_create_c(char *name, void *(*start_routine)(void *),
|
thread_type *thread_create_c(const char *name, void *(*start_routine)(void *),
|
||||||
void *arg, int detached, int line, char *file)
|
void *arg, int detached, int line, const char *file)
|
||||||
{
|
{
|
||||||
thread_type *thread = NULL;
|
thread_type *thread = NULL;
|
||||||
thread_start_t *start = NULL;
|
thread_start_t *start = NULL;
|
||||||
|
@ -168,8 +168,8 @@ void thread_initialize_with_log_id(int log_id);
|
|||||||
void thread_shutdown(void);
|
void thread_shutdown(void);
|
||||||
|
|
||||||
/* creation, destruction, locking, unlocking, signalling and waiting */
|
/* creation, destruction, locking, unlocking, signalling and waiting */
|
||||||
thread_type *thread_create_c(char *name, void *(*start_routine)(void *),
|
thread_type *thread_create_c(const char *name, void *(*start_routine)(void *),
|
||||||
void *arg, int detached, int line, char *file);
|
void *arg, int detached, int line, const char *file);
|
||||||
void thread_mutex_create_c(mutex_t *mutex, int line, char *file);
|
void thread_mutex_create_c(mutex_t *mutex, int line, char *file);
|
||||||
void thread_mutex_lock_c(mutex_t *mutex, int line, char *file);
|
void thread_mutex_lock_c(mutex_t *mutex, int line, char *file);
|
||||||
void thread_mutex_unlock_c(mutex_t *mutex, int line, char *file);
|
void thread_mutex_unlock_c(mutex_t *mutex, int line, char *file);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user