diff options
Diffstat (limited to 'cad/irsim/files/patch-ab')
-rw-r--r-- | cad/irsim/files/patch-ab | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/cad/irsim/files/patch-ab b/cad/irsim/files/patch-ab new file mode 100644 index 0000000..836d8e8 --- /dev/null +++ b/cad/irsim/files/patch-ab @@ -0,0 +1,37 @@ +--- 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' ) + { |