summaryrefslogtreecommitdiff
path: root/i18npool
diff options
context:
space:
mode:
authorTor Lillqvist <tml@iki.fi>2012-11-07 00:40:06 +0200
committerTor Lillqvist <tml@iki.fi>2012-11-07 00:40:06 +0200
commiteb66f794d96a78cfca575f858bc9c65d1dee43b7 (patch)
tree9badd40441ef078468a52966577f17c4c07d5dbd /i18npool
parentd3e5956abf0ff1dc022fb8b9575606c6aa790e35 (diff)
Put the __attribute__ in the correct place
Change-Id: I8444fe62254cefe950f356e2f0bca5625420cd75
Diffstat (limited to 'i18npool')
-rw-r--r--i18npool/source/languagetag/simple-langtag.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/i18npool/source/languagetag/simple-langtag.cxx b/i18npool/source/languagetag/simple-langtag.cxx
index 5d51bd9c00f7..849f37a1efd2 100644
--- a/i18npool/source/languagetag/simple-langtag.cxx
+++ b/i18npool/source/languagetag/simple-langtag.cxx
@@ -45,7 +45,7 @@ static void g_free(gpointer p)
free(p);
}
-static void g_error_free(GError *error) __attribute__((used))
+static void __attribute__((used)) g_error_free(GError *error)
{
if (error)
{