From: Martin Quinson Date: Sun, 6 Mar 2016 01:37:43 +0000 (+0100) Subject: another useless thread function dies X-Git-Tag: v3_13~529 X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/commitdiff_plain/8318c2af7d3451baa2ac1cb93f757146385a9e3b another useless thread function dies --- diff --git a/include/xbt/xbt_os_thread.h b/include/xbt/xbt_os_thread.h index fb39e5bb6a..33bb3e6c33 100644 --- a/include/xbt/xbt_os_thread.h +++ b/include/xbt/xbt_os_thread.h @@ -35,7 +35,6 @@ XBT_PUBLIC(void) xbt_os_thread_detach(xbt_os_thread_t thread); XBT_PUBLIC(xbt_os_thread_t) xbt_os_thread_self(void); XBT_PUBLIC(const char *) xbt_os_thread_self_name(void); -XBT_PUBLIC(const char *) xbt_os_thread_name(xbt_os_thread_t); XBT_PUBLIC(void) xbt_os_thread_set_extra_data(void *data); XBT_PUBLIC(void *) xbt_os_thread_get_extra_data(void); XBT_PUBLIC(void) xbt_os_thread_key_create(xbt_os_thread_key_t* key); diff --git a/src/xbt/xbt_os_thread.c b/src/xbt/xbt_os_thread.c index c697ae7bf4..1003575ee4 100644 --- a/src/xbt/xbt_os_thread.c +++ b/src/xbt/xbt_os_thread.c @@ -254,11 +254,6 @@ void xbt_os_thread_setguardsize(int guard_size) #endif } -const char *xbt_os_thread_name(xbt_os_thread_t t) -{ - return t->name; -} - const char *xbt_os_thread_self_name(void) { xbt_os_thread_t me = xbt_os_thread_self();