summaryrefslogtreecommitdiffstats
path: root/libc/include/errno.h
diff options
context:
space:
mode:
authorElliott Hughes <enh@google.com>2014-06-10 20:47:49 -0700
committerElliott Hughes <enh@google.com>2014-06-11 16:32:10 -0700
commitb27a840f4b520bfa095db99b0a2e5205634b0003 (patch)
treec27682ed0b5e301cbe0aa49dfd6ada3e1bef9eae /libc/include/errno.h
parent0ada9388e74693d990bdbb4af92c33bae8b34d4b (diff)
downloadbionic-b27a840f4b520bfa095db99b0a2e5205634b0003.zip
bionic-b27a840f4b520bfa095db99b0a2e5205634b0003.tar.gz
bionic-b27a840f4b520bfa095db99b0a2e5205634b0003.tar.bz2
Add __pure2 to a few more functions, most notably gettid and pthread_self.
Change-Id: I7eee9f26f45130038af09d8285782b07f70a996f
Diffstat (limited to 'libc/include/errno.h')
-rw-r--r--libc/include/errno.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/libc/include/errno.h b/libc/include/errno.h
index 2e5ce5f..1a36b7a 100644
--- a/libc/include/errno.h
+++ b/libc/include/errno.h
@@ -41,7 +41,7 @@ __BEGIN_DECLS
#endif
/* internal function returning the address of the thread-specific errno */
-extern volatile int* __errno(void);
+extern volatile int* __errno(void) __pure2;
/* a macro expanding to the errno l-value */
#define errno (*__errno())