about summary refs log tree commit diff
path: root/csu/libc-tls.c
diff options
context:
space:
mode:
authorSiddhesh Poyarekar <siddhesh@redhat.com>2013-03-01 14:15:39 +0530
committerSiddhesh Poyarekar <siddhesh@redhat.com>2013-03-01 14:15:39 +0530
commite23872c8db1fb26713b9c15b12686ac7a0077576 (patch)
treea7fa040afb53ba1f5bd98bb33f214aa32e3729b8 /csu/libc-tls.c
parentfd6cdc6da490616f4d381f4d44f03d61f64da2ba (diff)
downloadglibc-e23872c8db1fb26713b9c15b12686ac7a0077576.tar.gz
glibc-e23872c8db1fb26713b9c15b12686ac7a0077576.tar.xz
glibc-e23872c8db1fb26713b9c15b12686ac7a0077576.zip
Set default stack size from program environment
New environment variable GLIBC_PTHREAD_DEFAULT_STACKSIZE to do this.
Diffstat (limited to 'csu/libc-tls.c')
-rw-r--r--csu/libc-tls.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/csu/libc-tls.c b/csu/libc-tls.c
index 5fa39eb8d1..4c20bb5531 100644
--- a/csu/libc-tls.c
+++ b/csu/libc-tls.c
@@ -243,7 +243,7 @@ _dl_tls_setup (void)
    not used.  */
 void
 __attribute__ ((weak))
-__pthread_initialize_minimal (void)
+__pthread_initialize_minimal (int argc, char **argv, char **envp)
 {
   __libc_setup_tls (TLS_INIT_TCB_SIZE, TLS_INIT_TCB_ALIGN);
 }