diff options
author | Barry Wardell <rockbox@barrywardell.net> | 2006-10-27 02:09:35 +0000 |
---|---|---|
committer | Barry Wardell <rockbox@barrywardell.net> | 2006-10-27 02:09:35 +0000 |
commit | e52d9610b50caceb0b0768b0a55894b03ed1367c (patch) | |
tree | c035f3d32a364c703d283b7a9e0b5b5a079edf20 /apps | |
parent | a992cd11e5c410a3156b407da65a3b7dd4f63214 (diff) | |
download | rockbox-e52d9610b50caceb0b0768b0a55894b03ed1367c.tar.gz rockbox-e52d9610b50caceb0b0768b0a55894b03ed1367c.zip |
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
Diffstat (limited to 'apps')
-rw-r--r-- | apps/debug_menu.c | 6 |
1 files changed, 3 insertions, 3 deletions
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) | |||
367 | 367 | ||
368 | 368 | ||
369 | #if CONFIG_CPU == TCC730 | 369 | #if CONFIG_CPU == TCC730 |
370 | static unsigned flash_word_temp __attribute__ ((section (".idata"))); | 370 | static unsigned flash_word_temp IDATA_ATTR; |
371 | 371 | ||
372 | static void flash_write_word(unsigned addr, unsigned value) __attribute__ ((section(".icode"))); | 372 | static void flash_write_word(unsigned addr, unsigned value) ICODE_ATTR; |
373 | static void flash_write_word(unsigned addr, unsigned value) { | 373 | static void flash_write_word(unsigned addr, unsigned value) { |
374 | flash_word_temp = value; | 374 | flash_word_temp = value; |
375 | 375 | ||
@@ -377,7 +377,7 @@ static void flash_write_word(unsigned addr, unsigned value) { | |||
377 | ddma_transfer(1, 1, &flash_word_temp, extAddr, 2); | 377 | ddma_transfer(1, 1, &flash_word_temp, extAddr, 2); |
378 | } | 378 | } |
379 | 379 | ||
380 | static unsigned flash_read_word(unsigned addr) __attribute__ ((section(".icode"))); | 380 | static unsigned flash_read_word(unsigned addr) ICODE_ATTR; |
381 | static unsigned flash_read_word(unsigned addr) { | 381 | static unsigned flash_read_word(unsigned addr) { |
382 | long extAddr = (long)addr << 1; | 382 | long extAddr = (long)addr << 1; |
383 | ddma_transfer(1, 1, &flash_word_temp, extAddr, 2); | 383 | ddma_transfer(1, 1, &flash_word_temp, extAddr, 2); |