[git commit] Move extern prototype out of function scope

Ron ron at debian.org
Fri Jun 26 19:14:17 UTC 2009

commit: http://git.uclibc.org/uClibc/commit/?id=43eee9323fbc1327f2eadb2f547ff7c134f74fed
branch: http://git.uclibc.org/uClibc/commit/?id=refs/heads/nptl

gcc-4.4 now barks about this, so appease it.

Signed-off-by: Ron Lee <ron at debian.org>
Signed-off-by: Mike Frysinger <vapier at gentoo.org>
Signed-off-by: Austin Foxley <austinf at cetoncorp.com>
 ldso/ldso/arm/dl-sysdep.h |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/ldso/ldso/arm/dl-sysdep.h b/ldso/ldso/arm/dl-sysdep.h
index 59a7142..5a2912a 100644
--- a/ldso/ldso/arm/dl-sysdep.h
+++ b/ldso/ldso/arm/dl-sysdep.h
@@ -110,11 +110,12 @@ elf_machine_dynamic (void)
   return dynamic;
+extern void __dl_start __asm__ ("_dl_start");
 /* Return the run-time load address of the shared object.  */
 static __always_inline Elf32_Addr __attribute__ ((unused))
 elf_machine_load_address (void)
-	extern void __dl_start __asm__ ("_dl_start");
 	Elf32_Addr got_addr = (Elf32_Addr) &__dl_start;
 	Elf32_Addr pcrel_addr;
 #if defined __OPTIMIZE__ && !defined __thumb__

More information about the uClibc-cvs mailing list