$NetBSD: patch-ao,v 1.1 2001/05/11 11:17:40 dmcmahill Exp $ regparm is only for i386 --- opcode.h.orig Sat Feb 10 08:46:27 2001 +++ opcode.h Tue May 8 18:48:56 2001 @@ -70,5 +70,9 @@ +#ifdef __i386__ typedef __attribute__ ((regparm(3))) void (*zz_func) (BYTE inst[], int execflag, REGS *regs); +#else +typedef void (*zz_func) (BYTE inst[], int execflag, REGS *regs); +#endif extern zz_func opcode_table[][GEN_MAXARCH];