[Glibc-bsd-commits] r5842 - in trunk/glibc-ports/kfreebsd: . fbtl
aurel32 at alioth.debian.org
aurel32 at alioth.debian.org
Sun Nov 22 10:18:32 UTC 2015
Author: aurel32
Date: 2015-11-22 10:18:32 +0000 (Sun, 22 Nov 2015)
New Revision: 5842
Modified:
trunk/glibc-ports/kfreebsd/fbtl/pthread_setname.c
trunk/glibc-ports/kfreebsd/syscalls-inline.h
Log:
Kill a warning
Modified: trunk/glibc-ports/kfreebsd/fbtl/pthread_setname.c
===================================================================
--- trunk/glibc-ports/kfreebsd/fbtl/pthread_setname.c 2015-11-21 23:43:48 UTC (rev 5841)
+++ trunk/glibc-ports/kfreebsd/fbtl/pthread_setname.c 2015-11-22 10:18:32 UTC (rev 5842)
@@ -23,9 +23,6 @@
#include <string.h>
#include <unistd.h>
-extern int __syscall_thr_set_name(long tid, char *name);
-libc_hidden_proto(__syscall_thr_set_name)
-
int
pthread_setname_np (th, name)
pthread_t th;
Modified: trunk/glibc-ports/kfreebsd/syscalls-inline.h
===================================================================
--- trunk/glibc-ports/kfreebsd/syscalls-inline.h 2015-11-21 23:43:48 UTC (rev 5841)
+++ trunk/glibc-ports/kfreebsd/syscalls-inline.h 2015-11-22 10:18:32 UTC (rev 5842)
@@ -71,7 +71,7 @@
int __syscall_thr_kill2(int pid, long id, int sig);
int __syscall_thr_new(void *arg, int size);
int __syscall_thr_self(long *id);
-int __syscall_thr_set_name(long id, char*name);
+int __syscall_thr_set_name(long id, const char *name);
libc_hidden_proto (__syscall_thr_exit)
libc_hidden_proto (__syscall_thr_kill)
libc_hidden_proto (__syscall_thr_kill2)
More information about the Glibc-bsd-commits
mailing list