From 59e71ee80c65426b2f569cc4c60936053cc9caa5 Mon Sep 17 00:00:00 2001 From: Boris Gjenero Date: Fri, 9 Dec 2011 15:33:59 +0000 Subject: Introduce USED_ATTR wrapper for __attribute__((used)). git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31188 a1c6a512-1295-4272-9138-f99709370657 --- firmware/target/coldfire/system-coldfire.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'firmware/target/coldfire/system-coldfire.c') diff --git a/firmware/target/coldfire/system-coldfire.c b/firmware/target/coldfire/system-coldfire.c index 1fbd00825a..bc8c78b860 100644 --- a/firmware/target/coldfire/system-coldfire.c +++ b/firmware/target/coldfire/system-coldfire.c @@ -171,7 +171,7 @@ default_interrupt (ADC); /* A/D converter */ #endif static void system_display_exception_info(unsigned long format, - unsigned long pc) __attribute__ ((noreturn, used)); + unsigned long pc) __attribute__ ((noreturn)) USED_ATTR; static void system_display_exception_info(unsigned long format, unsigned long pc) { -- cgit v1.2.3