1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-24 04:33:24 +00:00
freebsd-ports/cad/irsim/files/patch-ab
Oliver Lehmann 843e0e4906 fix build on CURRENT
bump PORTREVISION
2003-12-09 18:19:06 +00:00

38 lines
733 B
Plaintext

--- src/ana11/textwind.c.orig Tue Sep 10 00:19:44 1996
+++ src/ana11/textwind.c Tue Dec 9 19:00:52 2003
@@ -19,7 +19,7 @@
#include <xfuncs.h>
#define bcopy(x,y,z) memcpy((y),(x),(z))
#else
-#include <varargs.h>
+#include <stdarg.h>
#endif /* OS2 */
#include "ana.h"
#include "ana_glob.h"
@@ -94,24 +94,13 @@
/* VARARGS */
-#ifndef OS2
-public void PRINTF( va_alist )
- va_dcl
-#else
-public void PRINTF()
-#endif /* OS2 */
+public void PRINTF( char *format, ... )
{
va_list args;
- char *format;
char *s;
int len;
-#ifdef OS2
va_start( args, format);
-#else
- va_start( args );
-#endif /* OS2 */
- format = va_arg( args, char * );
if( *format == '\n' )
{