summaryrefslogtreecommitdiff
path: root/src/ao_task.c
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2011-07-09 13:09:57 -0700
committerKeith Packard <keithp@keithp.com>2011-07-09 13:09:57 -0700
commit0d0cf6f9a1b14a1b66aee3845964cd33d1f035c2 (patch)
treef3fd9df7c3f4f38153f27d1bf74f3e502471a116 /src/ao_task.c
parent8f80f5705d64469bcfb00ff11aee68364edb271b (diff)
altos: new versions of sdcc require __ prefixes for custom keywords
Fortunately, 2.9.1 appears to accept either, so we can switch now and prepare for sdcc 3.0.0. Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'src/ao_task.c')
-rw-r--r--src/ao_task.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ao_task.c b/src/ao_task.c
index 7e34ed61..f5850fa4 100644
--- a/src/ao_task.c
+++ b/src/ao_task.c
@@ -78,7 +78,7 @@ ao_add_task(__xdata struct ao_task * task, void (*start)(void), __code char *nam
/* Task switching function. This must not use any stack variables */
void
-ao_yield(void) _naked
+ao_yield(void) __naked
{
/* Save current context */