aboutsummaryrefslogtreecommitdiffstats
path: root/os/ports/GCC/SIMIA32/chcore.h
diff options
context:
space:
mode:
Diffstat (limited to 'os/ports/GCC/SIMIA32/chcore.h')
-rw-r--r--os/ports/GCC/SIMIA32/chcore.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/os/ports/GCC/SIMIA32/chcore.h b/os/ports/GCC/SIMIA32/chcore.h
index 2e5175c70..aa5e5a5ae 100644
--- a/os/ports/GCC/SIMIA32/chcore.h
+++ b/os/ports/GCC/SIMIA32/chcore.h
@@ -207,7 +207,7 @@ struct context {
#ifdef __cplusplus
extern "C" {
#endif
- __attribute__((fastcall)) void port_switch(Thread *otp, Thread *ntp);
+ __attribute__((fastcall)) void port_switch(Thread *ntp, Thread *otp);
__attribute__((fastcall)) void port_halt(void);
void threadexit(void);
void ChkIntSources(void);