From e53e67e2287b111af25387edf8bff381be3be252 Mon Sep 17 00:00:00 2001 From: "Peter S. Mazinger" Date: Fri, 27 Jan 2006 17:50:52 +0000 Subject: Some warnings go away --- ldso/ldso/ldso.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'ldso/ldso') diff --git a/ldso/ldso/ldso.c b/ldso/ldso/ldso.c index c3538426b..97fa924e5 100644 --- a/ldso/ldso/ldso.c +++ b/ldso/ldso/ldso.c @@ -88,6 +88,7 @@ extern void _start(void); #ifdef __UCLIBC_HAS_SSP__ #include +uintptr_t stack_chk_guard; #ifndef THREAD_SET_STACK_GUARD /* Only exported for architectures that don't store the stack guard canary * in local thread area. */ @@ -212,7 +213,7 @@ void _dl_get_ready_to_run(struct elf_resolve *tpnt, unsigned long load_addr, /* sjhill: your TLS init should go before this */ #ifdef __UCLIBC_HAS_SSP__ /* Set up the stack checker's canary. */ - uintptr_t stack_chk_guard = _dl_setup_stack_chk_guard (); + stack_chk_guard = _dl_setup_stack_chk_guard (); # ifdef THREAD_SET_STACK_GUARD THREAD_SET_STACK_GUARD (stack_chk_guard); # else -- cgit v1.2.3