From e52d9610b50caceb0b0768b0a55894b03ed1367c Mon Sep 17 00:00:00 2001 From: Barry Wardell Date: Fri, 27 Oct 2006 02:09:35 +0000 Subject: Accept FS#6235. We should be using the *_ATTR defines instead of __attribute__ git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11355 a1c6a512-1295-4272-9138-f99709370657 --- apps/debug_menu.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'apps') diff --git a/apps/debug_menu.c b/apps/debug_menu.c index d71874d3c5..ce25410287 100644 --- a/apps/debug_menu.c +++ b/apps/debug_menu.c @@ -367,9 +367,9 @@ bool dbg_audio_thread(void) #if CONFIG_CPU == TCC730 -static unsigned flash_word_temp __attribute__ ((section (".idata"))); +static unsigned flash_word_temp IDATA_ATTR; -static void flash_write_word(unsigned addr, unsigned value) __attribute__ ((section(".icode"))); +static void flash_write_word(unsigned addr, unsigned value) ICODE_ATTR; static void flash_write_word(unsigned addr, unsigned value) { flash_word_temp = value; @@ -377,7 +377,7 @@ static void flash_write_word(unsigned addr, unsigned value) { ddma_transfer(1, 1, &flash_word_temp, extAddr, 2); } -static unsigned flash_read_word(unsigned addr) __attribute__ ((section(".icode"))); +static unsigned flash_read_word(unsigned addr) ICODE_ATTR; static unsigned flash_read_word(unsigned addr) { long extAddr = (long)addr << 1; ddma_transfer(1, 1, &flash_word_temp, extAddr, 2); -- cgit v1.2.3