diff options
author | Elliott Hughes <enh@google.com> | 2014-06-10 20:47:49 -0700 |
---|---|---|
committer | Elliott Hughes <enh@google.com> | 2014-06-11 16:32:10 -0700 |
commit | b27a840f4b520bfa095db99b0a2e5205634b0003 (patch) | |
tree | c27682ed0b5e301cbe0aa49dfd6ada3e1bef9eae /libc/include/stdlib.h | |
parent | 0ada9388e74693d990bdbb4af92c33bae8b34d4b (diff) | |
download | android_bionic-b27a840f4b520bfa095db99b0a2e5205634b0003.tar.gz android_bionic-b27a840f4b520bfa095db99b0a2e5205634b0003.tar.bz2 android_bionic-b27a840f4b520bfa095db99b0a2e5205634b0003.zip |
Add __pure2 to a few more functions, most notably gettid and pthread_self.
Change-Id: I7eee9f26f45130038af09d8285782b07f70a996f
Diffstat (limited to 'libc/include/stdlib.h')
-rw-r--r-- | libc/include/stdlib.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libc/include/stdlib.h b/libc/include/stdlib.h index 483aaf027..0f862c379 100644 --- a/libc/include/stdlib.h +++ b/libc/include/stdlib.h @@ -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); |