summaryrefslogtreecommitdiff
path: root/src/apk_applet.h
diff options
context:
space:
mode:
authorTimo Teras <timo.teras@iki.fi>2008-04-21 09:41:53 +0000
committerTimo Teras <timo.teras@iki.fi>2008-04-21 09:41:53 +0000
commit951602e551bc56b433f7c6d908998b6289890b09 (patch)
tree22a716c4f70ae7529a2ad61e6f2dddcf0222678b /src/apk_applet.h
parentd6c74352427367a334d37469962bbcf1b9ae364c (diff)
downloadapk-tools-951602e551bc56b433f7c6d908998b6289890b09.tar.gz
apk-tools-951602e551bc56b433f7c6d908998b6289890b09.tar.bz2
apk-tools-951602e551bc56b433f7c6d908998b6289890b09.tar.xz
apk-tools-951602e551bc56b433f7c6d908998b6289890b09.zip
Fixes for hardened environment (and old gcc)
Diffstat (limited to 'src/apk_applet.h')
-rw-r--r--src/apk_applet.h2
1 files changed, 1 insertions, 1 deletions
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