From 68c6ba3a708c98ab8ab77e1d30f9d9f0e632acd3 Mon Sep 17 00:00:00 2001 From: Chris Young Date: Mon, 23 Feb 2015 23:16:34 +0000 Subject: fix OS3 build, avoid forward declarations --- amiga/gui.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'amiga/gui.h') diff --git a/amiga/gui.h b/amiga/gui.h index 4d8344be6..adad63d4f 100755 --- a/amiga/gui.h +++ b/amiga/gui.h @@ -31,7 +31,7 @@ #ifdef __amigaos4__ #define HOOKF(ret,func,type,ptr,msgtype) static ret func(struct Hook *hook, type ptr, msgtype msg) #else -#define HOOKF(ret,func,type,ptr) static ASM ret func(REG(a0, struct Hook *hook),REG(a2, type ptr), REG(a1, msgtype msg)) +#define HOOKF(ret,func,type,ptr,msgtype) static ASM ret func(REG(a0, struct Hook *hook),REG(a2, type ptr), REG(a1, msgtype msg)) #endif enum -- cgit v1.2.3