Skip to content

Commit

Permalink
2005-02-09 Daniel Jacobowitz <dan@codesourcery.com>
Browse files Browse the repository at this point in the history
	[BZ #740]
	* descr.h (__pthread_find_self, thread_self): Mark as pure
	instead of const.
  • Loading branch information
Roland McGrath committed Feb 16, 2005
1 parent e58ebd8 commit c275398
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions linuxthreads/descr.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit c275398

Please sign in to comment.