Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
cosmetics (change 'self' identifier to 'me' for g++ compatibility)
authormquinson <mquinson@48e7efb5-ca39-0410-a469-dd3cf9ba447f>
Sun, 31 Oct 2010 12:29:19 +0000 (12:29 +0000)
committermquinson <mquinson@48e7efb5-ca39-0410-a469-dd3cf9ba447f>
Sun, 31 Oct 2010 12:29:19 +0000 (12:29 +0000)
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@8490 48e7efb5-ca39-0410-a469-dd3cf9ba447f

src/xbt/xbt_os_thread.c

index 2b8326e..1ecd247 100644 (file)
@@ -162,8 +162,8 @@ const char *xbt_os_thread_name(xbt_os_thread_t t)
 
 const char *xbt_os_thread_self_name(void)
 {
-  xbt_os_thread_t self = xbt_os_thread_self();
-  return self ? self->name : "main";
+  xbt_os_thread_t me = xbt_os_thread_self();
+  return me ? me->name : "main";
 }
 
 void xbt_os_thread_join(xbt_os_thread_t thread, void **thread_return)