Commit 8ff09d11 authored by johnvg@science.ru.nl's avatar johnvg@science.ru.nl

remove unused function DoError from backend

parent 9953141b
......@@ -847,16 +847,6 @@ int FPutS (char *s, File f)
{
return fputs (s, (FILE *) f);
} /* FPutS */
void DoError (char *fmt, ...)
{ va_list args;
va_start (args, fmt);
(void) vfprintf (stderr, fmt, args);
va_end (args);
}
void DoFatalError (char *fmt, ...)
{ va_list args;
......
......@@ -48,11 +48,9 @@ extern int FPrintF (); /* (File w, char *fmt,...) */
#endif
#ifdef _VARARGS_
extern void DoError (char *fmt,...);
extern void DoFatalError (char *fmt,...);
extern void CmdError (char *errormsg,...);
#else
extern void DoError ();
extern void DoFatalError ();
extern void CmdError ();
#endif
......
......@@ -56,16 +56,6 @@ int FPutS (char *s, File f)
} /* FPutS */
/* Error Handling */
void DoError (char *fmt, ...)
{ va_list args;
va_start (args, fmt);
(void) vfprintf (StdError, fmt, args);
va_end (args);
}
void DoFatalError (char *fmt, ...)
{ va_list args;
......
......@@ -52,17 +52,6 @@ int FPutS (char *s, File f)
return fputs (s, (FILE *) f);
}
void DoError (char *fmt, ...)
{
va_list args;
va_start (args, fmt);
(void) vfprintf (stderr, fmt, args);
va_end (args);
}
void DoFatalError (char *fmt, ...)
{
va_list args;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment