summaryrefslogtreecommitdiff
path: root/firmware/kernel.c
diff options
context:
space:
mode:
authorDave Chapman <dave@dchapman.com>2005-11-12 14:48:52 +0000
committerDave Chapman <dave@dchapman.com>2005-11-12 14:48:52 +0000
commit622f9334dbedebade18905d117d5025cbaac5f2e (patch)
tree66f5f1fefad88102d1417d36a93b9c38ee53cb69 /firmware/kernel.c
parentec2ed49b1fa1062989a7a751c5c1af6c96c67b7a (diff)
Use ICODE_ATTR instead of __attribute__ ((section(".icode")))
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7820 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/kernel.c')
-rw-r--r--firmware/kernel.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/firmware/kernel.c b/firmware/kernel.c
index 239394a244..6623ca98b3 100644
--- a/firmware/kernel.c
+++ b/firmware/kernel.c
@@ -35,8 +35,8 @@ static void (*tick_funcs[MAX_NUM_TICK_TASKS])(void);
static struct event_queue *all_queues[32];
static int num_queues;
-void sleep(int ticks) __attribute__ ((section(".icode")));
-void queue_wait(struct event_queue *q, struct event *ev) __attribute__ ((section(".icode")));
+void sleep(int ticks) ICODE_ATTR;
+void queue_wait(struct event_queue *q, struct event *ev) ICODE_ATTR;
/****************************************************************************
* Standard kernel stuff