$NetBSD: patch-aq,v 1.2 2012/10/26 20:39:16 joerg Exp $ --- prototyp.h.orig 2006-06-15 07:57:40.000000000 +0200 +++ prototyp.h 2006-06-15 08:33:52.000000000 +0200 @@ -372,7 +372,7 @@ extern int t16_getline(FILE *,int ,U16 * extern void calcfracinit(void); extern void adjust_corner(void); -#ifndef XFRACT +#if !defined(USE_VARARGS) extern int put_resume(int ,... ); extern int get_resume(int ,... ); #else @@ -591,7 +591,6 @@ extern void set_pixel_calc_functions(voi /* fractint -- C file prototypes */ -extern void main(int argc,char **argv ); extern int elapsed_time(int); /* framain2 -- C file prototypes */ @@ -604,11 +603,14 @@ extern int main_menu_switch(int *,int *, extern int pot_line(BYTE *,int ); extern int sound_line(BYTE *,int ); extern int sound_line(unsigned char *pixels,int linelen); -#ifndef XFRACT +#if !defined(USE_VARARGS) extern int timer(int,int (*subrtn)(),...); -extern int _cdecl _matherr(struct exception *); #else extern int timer(); +#endif +#ifndef XFRACT +extern int _cdecl _matherr(struct exception *); +#else extern int XZoomWaiting; #endif