blob: c8f17c5a0fcf31e4469865d082a322068dc90985 (
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
31
32
33
34
35
36
37
38
39
40
41
42
43
|
$NetBSD: patch-ah,v 1.1 2006/06/14 09:07:45 rillig Exp $
--- fractint.c.orig 2006-06-15 07:57:40.000000000 +0200
+++ fractint.c 2006-06-15 08:32:32.000000000 +0200
@@ -3,14 +3,17 @@
Main Routine
*/
+#if !defined(USE_VARARGS)
+#include <stdarg.h>
+#else
+#include <varargs.h>
+#endif
+
#include <string.h>
#include <time.h>
#include <signal.h>
#ifndef XFRACT
#include <io.h>
-#include <stdarg.h>
-#else
-#include <varargs.h>
#endif
#include <ctype.h>
@@ -540,7 +543,7 @@ int check_key()
timer(1,NULL,int width) decoder
timer(2) encoder
*/
-#ifndef XFRACT
+#if !defined(USE_VARARGS)
int timer(int timertype,int(*subrtn)(),...)
#else
int timer(va_alist)
@@ -555,7 +558,7 @@ va_dcl
int i;
int do_bench;
-#ifndef XFRACT
+#if !defined(USE_VARARGS)
va_start(arg_marker,subrtn);
#else
int timertype;
|