From 951602e551bc56b433f7c6d908998b6289890b09 Mon Sep 17 00:00:00 2001 From: Timo Teras Date: Mon, 21 Apr 2008 09:41:53 +0000 Subject: Fixes for hardened environment (and old gcc) --- src/apk_applet.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/apk_applet.h b/src/apk_applet.h index d243d65..4107135 100644 --- a/src/apk_applet.h +++ b/src/apk_applet.h @@ -22,6 +22,6 @@ extern struct apk_applet *__start_apkapplets, *__stop_apkapplets; #define APK_DEFINE_APPLET(x) \ static struct apk_applet *__applet_##x \ - __attribute__((__section__("apkapplets") used)) = &x; + __attribute__((__section__("apkapplets"))) __attribute((used)) = &x; #endif -- cgit v1.2.3-70-g09d2