mirror of
git://sourceware.org/git/glibc.git
synced 2024-11-27 03:41:23 +08:00
2005-02-09 Daniel Jacobowitz <dan@codesourcery.com>
* descr.h (__pthread_find_self, thread_self): Mark as pure instead of const.
This commit is contained in:
parent
0fe86f96d6
commit
6c92184721
@ -239,9 +239,9 @@ extern int __pthread_nonstandard_stacks;
|
||||
|
||||
/* Recover thread descriptor for the current thread */
|
||||
|
||||
extern pthread_descr __pthread_find_self (void) __attribute__ ((const));
|
||||
extern pthread_descr __pthread_find_self (void) __attribute__ ((pure));
|
||||
|
||||
static inline pthread_descr thread_self (void) __attribute__ ((const));
|
||||
static inline pthread_descr thread_self (void) __attribute__ ((pure));
|
||||
static inline pthread_descr thread_self (void)
|
||||
{
|
||||
#ifdef THREAD_SELF
|
||||
|
Loading…
Reference in New Issue
Block a user