Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
kill an unused function
authorMartin Quinson <martin.quinson@loria.fr>
Sat, 5 Mar 2016 14:15:23 +0000 (15:15 +0100)
committerMartin Quinson <martin.quinson@loria.fr>
Sat, 5 Mar 2016 22:21:14 +0000 (23:21 +0100)
include/xbt/xbt_os_thread.h
src/xbt/xbt_os_thread.c

index 93efd01..3891cc8 100644 (file)
@@ -63,7 +63,6 @@ XBT_PUBLIC(void*) xbt_os_thread_get_specific(xbt_os_thread_key_t key);
 XBT_PUBLIC(void) xbt_os_thread_join(xbt_os_thread_t thread, void **thread_return);
 XBT_PUBLIC(void) xbt_os_thread_yield(void);
 XBT_PUBLIC(void) xbt_os_thread_cancel(xbt_os_thread_t thread);
-XBT_PUBLIC(void *) xbt_os_thread_getparam(void);
 XBT_PUBLIC(void) xbt_os_thread_setstacksize(int stack_size);
 XBT_PUBLIC(void) xbt_os_thread_setguardsize(int guard_size);
 
index 22f9a8e..98bfef2 100644 (file)
@@ -476,12 +476,6 @@ void xbt_os_cond_destroy(xbt_os_cond_t cond)
   free(cond);
 }
 
-void *xbt_os_thread_getparam(void)
-{
-  xbt_os_thread_t t = xbt_os_thread_self();
-  return t ? t->param : NULL;
-}
-
 typedef struct xbt_os_sem_ {
 #ifndef HAVE_SEM_INIT
   char *name;