From a72aa856bdcc23dab64af83757830e1d2e1618c8 Mon Sep 17 00:00:00 2001 From: Rafaël Carré Date: Sun, 25 Jul 2010 14:44:29 +0000 Subject: Move some gcc extensions to new gcc_extensions.h header - Move ATTRIBUTE_PRINTF/ATTRIBUTE_SCANF from _ansi.h They are not related at all to this file, and this broke compilation with Code Sourcery GCC which ships its own _ansi.h - Move LIKELY/UNLIKELY from system.h There is likely a lot more GCC extensions used everywhere in the source, conditionally on __GNUC__ or unconditionally git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27548 a1c6a512-1295-4272-9138-f99709370657 --- apps/codecs.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'apps/codecs.h') diff --git a/apps/codecs.h b/apps/codecs.h index c7bd1a87d0..7e4fe948c2 100644 --- a/apps/codecs.h +++ b/apps/codecs.h @@ -31,7 +31,6 @@ #define MEM 2 #endif -#include <_ansi.h> #include #include #include "strlcpy.h" @@ -51,6 +50,8 @@ #endif #include "settings.h" +#include "gcc_extensions.h" + #ifdef CODEC #if defined(DEBUG) || defined(SIMULATOR) #undef DEBUGF -- cgit v1.2.3