Add __pure2 to a few more functions, most notably gettid and pthread_self.

Change-Id: I7eee9f26f45130038af09d8285782b07f70a996f
This commit is contained in:
Elliott Hughes
2014-06-10 20:47:49 -07:00
parent 0ada9388e7
commit b27a840f4b
6 changed files with 14 additions and 8 deletions

View File

@@ -138,21 +138,21 @@ typedef struct {
int rem;
} div_t;
extern div_t div(int, int);
extern div_t div(int, int) __pure2;
typedef struct {
long int quot;
long int rem;
} ldiv_t;
extern ldiv_t ldiv(long, long);
extern ldiv_t ldiv(long, long) __pure2;
typedef struct {
long long int quot;
long long int rem;
} lldiv_t;
extern lldiv_t lldiv(long long, long long);
extern lldiv_t lldiv(long long, long long) __pure2;
/* BSD compatibility. */
extern const char* getprogname(void);