1
0
mirror of https://gitlab.xiph.org/xiph/icecast-common.git synced 2024-09-29 04:25:57 -04:00

Fix: Corrected prototypes

This commit is contained in:
Philipp Schafft 2022-03-20 16:12:05 +00:00
parent 4c8da7bdc4
commit 04e4f7eb60
2 changed files with 4 additions and 4 deletions

View File

@ -268,8 +268,8 @@ static void _catch_signals(void)
}
thread_type *thread_create_c(char *name, void *(*start_routine)(void *),
void *arg, int detached, int line, char *file)
thread_type *thread_create_c(const char *name, void *(*start_routine)(void *),
void *arg, int detached, int line, const char *file)
{
thread_type *thread = NULL;
thread_start_t *start = NULL;

View File

@ -168,8 +168,8 @@ void thread_initialize_with_log_id(int log_id);
void thread_shutdown(void);
/* creation, destruction, locking, unlocking, signalling and waiting */
thread_type *thread_create_c(char *name, void *(*start_routine)(void *),
void *arg, int detached, int line, char *file);
thread_type *thread_create_c(const char *name, void *(*start_routine)(void *),
void *arg, int detached, int line, const 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_unlock_c(mutex_t *mutex, int line, char *file);