about summary refs log tree commit diff
path: root/sysdeps/mach/hurd/i386/init-first.c
diff options
context:
space:
mode:
authorMiles Bader <miles@gnu.org>1997-02-23 22:09:31 +0000
committerMiles Bader <miles@gnu.org>1997-02-23 22:09:31 +0000
commit6bac11d99322f3cdf751b43dc3b3456039fab26c (patch)
treebdec620c134a6b498fc21ea5d3825762a79ed558 /sysdeps/mach/hurd/i386/init-first.c
parent4dea6fa212ba120779f4a1f9237e02b20ab74aa5 (diff)
downloadglibc-6bac11d99322f3cdf751b43dc3b3456039fab26c.tar.gz
glibc-6bac11d99322f3cdf751b43dc3b3456039fab26c.tar.xz
glibc-6bac11d99322f3cdf751b43dc3b3456039fab26c.zip
(__libc_argv, __libc_argc): Make extern. (__hurd_threadvar_max, __hurd_threadvar_stack_offset, __hurd_threadvar_stack_mask): New variables. cvs/libc-970224
Diffstat (limited to 'sysdeps/mach/hurd/i386/init-first.c')
-rw-r--r--sysdeps/mach/hurd/i386/init-first.c8
1 files changed, 6 insertions, 2 deletions
diff --git a/sysdeps/mach/hurd/i386/init-first.c b/sysdeps/mach/hurd/i386/init-first.c
index c9249bba4e..4c4f6ff665 100644
--- a/sysdeps/mach/hurd/i386/init-first.c
+++ b/sysdeps/mach/hurd/i386/init-first.c
@@ -30,10 +30,14 @@ extern void __libc_init (int, char **, char **);
 extern void __getopt_clean_environment (void);
 extern void __libc_global_ctors (void);
 
+unsigned int __hurd_threadvar_max;
+unsigned long int __hurd_threadvar_stack_offset;
+unsigned long int __hurd_threadvar_stack_mask;
+
 int __libc_multiple_libcs = 1;
 
-int __libc_argc;
-char **__libc_argv;
+extern int __libc_argc;
+extern char **__libc_argv;
 
 /* We often need the PID.  Cache this value.  */
 pid_t __libc_pid;