summaryrefslogtreecommitdiff
path: root/src/thread
diff options
context:
space:
mode:
authorRich Felker <dalias@aerifal.cx>2018-09-18 19:43:52 -0400
committerRich Felker <dalias@aerifal.cx>2018-09-18 19:48:44 -0400
commitc7ed3e909a69d34a7821f7db644c2fa590a1a690 (patch)
tree862a190688c57ff3a2e5088977a5c49c174b303c /src/thread
parent11ce1b133d594b6a454d3e8d5941e7a6a432c42b (diff)
downloadmusl-c7ed3e909a69d34a7821f7db644c2fa590a1a690.tar.gz
musl-c7ed3e909a69d34a7821f7db644c2fa590a1a690.tar.bz2
musl-c7ed3e909a69d34a7821f7db644c2fa590a1a690.tar.xz
musl-c7ed3e909a69d34a7821f7db644c2fa590a1a690.zip
remove redundant declarations of __default_stacksize, __default_guardsize
these are now declared in pthread_impl.h.
Diffstat (limited to 'src/thread')
-rw-r--r--src/thread/pthread_attr_init.c3
-rw-r--r--src/thread/pthread_create.c2
-rw-r--r--src/thread/pthread_setattr_default_np.c3
3 files changed, 0 insertions, 8 deletions
diff --git a/src/thread/pthread_attr_init.c b/src/thread/pthread_attr_init.c
index 398990d1..463a8d20 100644
--- a/src/thread/pthread_attr_init.c
+++ b/src/thread/pthread_attr_init.c
@@ -1,8 +1,5 @@
#include "pthread_impl.h"
-extern size_t __default_stacksize;
-extern size_t __default_guardsize;
-
int pthread_attr_init(pthread_attr_t *a)
{
*a = (pthread_attr_t){0};
diff --git a/src/thread/pthread_create.c b/src/thread/pthread_create.c
index 3293dcd5..3da7db14 100644
--- a/src/thread/pthread_create.c
+++ b/src/thread/pthread_create.c
@@ -162,8 +162,6 @@ static void *dummy_tsd[1] = { 0 };
weak_alias(dummy_tsd, __pthread_tsd_main);
volatile int __block_new_threads = 0;
-extern size_t __default_stacksize;
-extern size_t __default_guardsize;
static FILE *volatile dummy_file = 0;
weak_alias(dummy_file, __stdin_used);
diff --git a/src/thread/pthread_setattr_default_np.c b/src/thread/pthread_setattr_default_np.c
index 88503e34..256f0685 100644
--- a/src/thread/pthread_setattr_default_np.c
+++ b/src/thread/pthread_setattr_default_np.c
@@ -2,9 +2,6 @@
#include "pthread_impl.h"
#include <string.h>
-extern size_t __default_stacksize;
-extern size_t __default_guardsize;
-
int pthread_setattr_default_np(const pthread_attr_t *attrp)
{
/* Reject anything in the attr object other than stack/guard size. */