summaryrefslogtreecommitdiff
path: root/math/xfractint/patches/patch-aq
blob: 6722a5683a2ef5f9bf73461366b8bc154406c44e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
$NetBSD: patch-aq,v 1.1 2006/06/14 09:07:45 rillig 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
@@ -604,11 +604,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