summaryrefslogtreecommitdiffstats
path: root/libc/include/unistd.h
diff options
context:
space:
mode:
Diffstat (limited to 'libc/include/unistd.h')
-rw-r--r--libc/include/unistd.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/libc/include/unistd.h b/libc/include/unistd.h
index b4982cb..ee6d7b1 100644
--- a/libc/include/unistd.h
+++ b/libc/include/unistd.h
@@ -54,7 +54,7 @@ extern __noreturn void _exit(int);
extern pid_t fork(void);
extern pid_t vfork(void);
extern pid_t getpid(void);
-extern pid_t gettid(void);
+extern pid_t gettid(void) __pure2;
extern pid_t getpgid(pid_t);
extern int setpgid(pid_t, pid_t);
extern pid_t getppid(void);