about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--src/thread/pthread_attr_getdetachstate.c2
-rw-r--r--src/thread/pthread_attr_getguardsize.c2
-rw-r--r--src/thread/pthread_attr_getscope.c2
-rw-r--r--src/thread/pthread_attr_getstacksize.c2
4 files changed, 4 insertions, 4 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;
diff --git a/src/thread/pthread_attr_getguardsize.c b/src/thread/pthread_attr_getguardsize.c
index e6b9ee2a..71133f80 100644
--- a/src/thread/pthread_attr_getguardsize.c
+++ b/src/thread/pthread_attr_getguardsize.c
@@ -1,6 +1,6 @@
 #include "pthread_impl.h"
 
-int pthread_attr_getguardsize(pthread_attr_t *a, size_t *size)
+int pthread_attr_getguardsize(const pthread_attr_t *a, size_t *size)
 {
 	*size = a->_a_guardsize + DEFAULT_GUARD_SIZE;
 	return 0;
diff --git a/src/thread/pthread_attr_getscope.c b/src/thread/pthread_attr_getscope.c
index 0cb224d3..fc42a52f 100644
--- a/src/thread/pthread_attr_getscope.c
+++ b/src/thread/pthread_attr_getscope.c
@@ -1,6 +1,6 @@
 #include "pthread_impl.h"
 
-int pthread_attr_getscope(pthread_attr_t *a, int *scope)
+int pthread_attr_getscope(const pthread_attr_t *a, int *scope)
 {
 	return 0;
 }
diff --git a/src/thread/pthread_attr_getstacksize.c b/src/thread/pthread_attr_getstacksize.c
index 900dc9f5..9575203d 100644
--- a/src/thread/pthread_attr_getstacksize.c
+++ b/src/thread/pthread_attr_getstacksize.c
@@ -1,6 +1,6 @@
 #include "pthread_impl.h"
 
-int pthread_attr_getstacksize(pthread_attr_t *a, size_t *size)
+int pthread_attr_getstacksize(const pthread_attr_t *a, size_t *size)
 {
 	*size = a->_a_stacksize + DEFAULT_STACK_SIZE;
 	return 0;