--- iprintf/iprintf.c.orig 2016-07-26 13:07:24 UTC +++ iprintf/iprintf.c @@ -13,7 +13,7 @@ #if defined(ANSI) # include #elif defined(UNIX) -# include +# include #else Error : varargs.h or stdarg.h is required to compile this. #endif /* ANSI or UNIX */ @@ -52,44 +52,21 @@ i_fputn(stream, string, count, total_cou } -#if defined(ANSI) int iprintf(char *format, ...) -#elif defined(UNIX) -int -iprintf(format, va_alist) - char *format; - va_dcl -#endif /* ANSI or UNIX */ { va_list args; -#if defined(ANSI) va_start (args, format); -#elif defined(UNIX) - va_start(args); -#endif /* ANSI or UNIX */ return (ivprintf(format, args)); } -#if defined(ANSI) int ifprintf(FILE *stream, char *format, ...) -#elif defined(UNIX) -int -ifprintf(stream, format, va_alist) - FILE *stream; - char *format; - va_dcl -#endif /* UNIX */ { va_list args; -#if defined(ANSI) va_start (args, format); -#elif defined(UNIX) - va_start(args); -#endif /* ANSI or UNIX */ return (ivfprintf(stream, format, args)); }