remove non-STDC code
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@9583 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
@@ -702,28 +702,14 @@ usage()
|
|||||||
exit(1);
|
exit(1);
|
||||||
}
|
}
|
||||||
|
|
||||||
#if __STDC__
|
|
||||||
#include <stdarg.h>
|
#include <stdarg.h>
|
||||||
#else
|
|
||||||
#include <varargs.h>
|
|
||||||
#endif
|
|
||||||
|
|
||||||
void
|
void
|
||||||
#if __STDC__
|
|
||||||
run_err(const char *fmt, ...)
|
run_err(const char *fmt, ...)
|
||||||
#else
|
|
||||||
run_err(fmt, va_alist)
|
|
||||||
char *fmt;
|
|
||||||
va_dcl
|
|
||||||
#endif
|
|
||||||
{
|
{
|
||||||
static FILE *fp;
|
static FILE *fp;
|
||||||
va_list ap;
|
va_list ap;
|
||||||
#if __STDC__
|
|
||||||
va_start(ap, fmt);
|
va_start(ap, fmt);
|
||||||
#else
|
|
||||||
va_start(ap);
|
|
||||||
#endif
|
|
||||||
|
|
||||||
++errs;
|
++errs;
|
||||||
if (fp == NULL && !(fp = fdopen(remout, "w")))
|
if (fp == NULL && !(fp = fdopen(remout, "w")))
|
||||||
|
Reference in New Issue
Block a user