mirror of
git://git.musl-libc.org/musl
synced 2025-02-24 06:46:49 +00:00
remove redundant declarations of __default_stacksize, __default_guardsize
these are now declared in pthread_impl.h.
This commit is contained in:
parent
11ce1b133d
commit
c7ed3e909a
@ -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};
|
||||
|
@ -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);
|
||||
|
@ -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. */
|
||||
|
Loading…
Reference in New Issue
Block a user