summaryrefslogtreecommitdiff
path: root/pthread/pt-internal.h
diff options
context:
space:
mode:
authorRichard Braun <rbraun@sceen.net>2013-12-29 14:06:43 +0100
committerRichard Braun <rbraun@sceen.net>2013-12-29 14:07:36 +0100
commit983b18a6ff16f5687a9ece63a50d1831dec88609 (patch)
tree17026abb83e8c8586ee6c7d66175dd6cb80ce1cf /pthread/pt-internal.h
parentd8569a7a43651ca1c1149540619254e224ed7c9e (diff)
Revert "Allow applications to set the default stack size"
This reverts commit 536420a581f9f822cdef0fc460b5176a840f49e5. Now that threadvars have been replaced with TLS, this hack is no longer needed.
Diffstat (limited to 'pthread/pt-internal.h')
-rw-r--r--pthread/pt-internal.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/pthread/pt-internal.h b/pthread/pt-internal.h
index 9e0bbe9..9747f1f 100644
--- a/pthread/pt-internal.h
+++ b/pthread/pt-internal.h
@@ -309,9 +309,8 @@ extern error_t __pthread_sigstate (struct __pthread *__restrict thread, int how,
int clear_pending);
-/* Default thread attributes.
- FIXME Normally const, see sysdeps/mach/hurd/pt-sysdep.c. */
-extern struct __pthread_attr __pthread_default_attr;
+/* Default thread attributes. */
+extern const struct __pthread_attr __pthread_default_attr;
/* Default barrier attributes. */
extern const struct __pthread_barrierattr __pthread_default_barrierattr;