From 7e76a2bd1ec93f7d272e8eb16542f9c231d55ae9 Mon Sep 17 00:00:00 2001 From: Samuel Thibault Date: Sun, 19 Feb 2012 01:28:39 +0000 Subject: Fix calling initializers, const seems to upset the dynlinker --- libddekit/initcall.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libddekit') diff --git a/libddekit/initcall.c b/libddekit/initcall.c index 78c24146..9195243d 100644 --- a/libddekit/initcall.c +++ b/libddekit/initcall.c @@ -9,7 +9,7 @@ #define SECTION(x) __attribute__((section( x ))) #endif -typedef void (*const crt0_hook)(void); +typedef void (*crt0_hook)(void); static crt0_hook __L4DDE_CTOR_BEG__[1] SECTION(".mark_beg_l4dde_ctors") = BEG; static crt0_hook __l4DDE_CTOR_END__[1] SECTION(".mark_end_l4dde_ctors") = END; -- cgit v1.2.3