$NetBSD: patch-ap,v 1.1 2006/06/14 09:07:45 rillig Exp $ --- printer.c.orig 2006-06-15 07:57:40.000000000 +0200 +++ printer.c 2006-06-15 08:38:59.000000000 +0200 @@ -89,6 +89,9 @@ #ifndef XFRACT #include +#endif + +#if !defined(USE_VARARGS) #include #else #include @@ -136,7 +139,7 @@ /******** PROTOTYPES ********/ -#ifndef XFRACT +#if !defined(USE_VARARGS) static void Printer_printf(char far *fmt,...); #else static void Printer_printf(); @@ -1335,7 +1338,7 @@ static void _fastcall print_title(int pt /* This function prints a string to the the printer with BIOS calls. */ -#ifndef XFRACT +#if !defined(USE_VARARGS) static void Printer_printf(char far *fmt,...) #else static void Printer_printf(va_alist) @@ -1347,7 +1350,7 @@ char s[500]; int x=0; va_list arg; -#ifndef XFRACT +#if !defined(USE_VARARGS) va_start(arg,fmt); #else char far *fmt;