about summary refs log tree commit diff
path: root/src/thread/pthread_attr_getdetachstate.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/thread/pthread_attr_getdetachstate.c')
-rw-r--r--src/thread/pthread_attr_getdetachstate.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/thread/pthread_attr_getdetachstate.c b/src/thread/pthread_attr_getdetachstate.c
index de65c25f..47c4c023 100644
--- a/src/thread/pthread_attr_getdetachstate.c
+++ b/src/thread/pthread_attr_getdetachstate.c
@@ -1,6 +1,6 @@
 #include "pthread_impl.h"
 
-int pthread_attr_getdetachstate(pthread_attr_t *a, int *state)
+int pthread_attr_getdetachstate(const pthread_attr_t *a, int *state)
 {
 	*state = a->_a_detach;
 	return 0;