diff options
-rw-r--r-- | include/pthread_np.h | 2 | ||||
-rw-r--r-- | lib/libc_r/uthread/uthread_info.c | 2 | ||||
-rw-r--r-- | lib/libkse/thread/thr_info.c | 2 | ||||
-rw-r--r-- | lib/libpthread/thread/thr_info.c | 2 |
4 files changed, 4 insertions, 4 deletions
diff --git a/include/pthread_np.h b/include/pthread_np.h index f5ac7f5..e479df6 100644 --- a/include/pthread_np.h +++ b/include/pthread_np.h @@ -50,7 +50,7 @@ int pthread_single_np __P((void)); int pthread_suspend_np __P((pthread_t)); int pthread_mutexattr_getkind_np __P((pthread_mutexattr_t)); int pthread_mutexattr_setkind_np __P((pthread_mutexattr_t *, int)); -void pthread_set_name_np __P((pthread_t, char *)); +void pthread_set_name_np __P((pthread_t, const char *)); int pthread_switch_add_np __P((pthread_switch_routine_t)); int pthread_switch_delete_np __P((pthread_switch_routine_t)); int pthread_main_np __P((void)); diff --git a/lib/libc_r/uthread/uthread_info.c b/lib/libc_r/uthread/uthread_info.c index 0eddb22..305a2b9 100644 --- a/lib/libc_r/uthread/uthread_info.c +++ b/lib/libc_r/uthread/uthread_info.c @@ -277,7 +277,7 @@ dump_thread(int fd, pthread_t pthread, int long_version) /* Set the thread name for debug: */ void -_pthread_set_name_np(pthread_t thread, char *name) +_pthread_set_name_np(pthread_t thread, const char *name) { /* Check if the caller has specified a valid thread: */ if (thread != NULL && thread->magic == PTHREAD_MAGIC) { diff --git a/lib/libkse/thread/thr_info.c b/lib/libkse/thread/thr_info.c index 0eddb22..305a2b9 100644 --- a/lib/libkse/thread/thr_info.c +++ b/lib/libkse/thread/thr_info.c @@ -277,7 +277,7 @@ dump_thread(int fd, pthread_t pthread, int long_version) /* Set the thread name for debug: */ void -_pthread_set_name_np(pthread_t thread, char *name) +_pthread_set_name_np(pthread_t thread, const char *name) { /* Check if the caller has specified a valid thread: */ if (thread != NULL && thread->magic == PTHREAD_MAGIC) { diff --git a/lib/libpthread/thread/thr_info.c b/lib/libpthread/thread/thr_info.c index 0eddb22..305a2b9 100644 --- a/lib/libpthread/thread/thr_info.c +++ b/lib/libpthread/thread/thr_info.c @@ -277,7 +277,7 @@ dump_thread(int fd, pthread_t pthread, int long_version) /* Set the thread name for debug: */ void -_pthread_set_name_np(pthread_t thread, char *name) +_pthread_set_name_np(pthread_t thread, const char *name) { /* Check if the caller has specified a valid thread: */ if (thread != NULL && thread->magic == PTHREAD_MAGIC) { |