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

remove unused function DoError from backend

parent 9953141b
...@@ -847,16 +847,6 @@ int FPutS (char *s, File f) ...@@ -847,16 +847,6 @@ int FPutS (char *s, File f)
{ {
return fputs (s, (FILE *) f); return fputs (s, (FILE *) f);
} /* FPutS */ } /* FPutS */
void DoError (char *fmt, ...)
{ va_list args;
va_start (args, fmt);
(void) vfprintf (stderr, fmt, args);
va_end (args);
}
void DoFatalError (char *fmt, ...) void DoFatalError (char *fmt, ...)
{ va_list args; { va_list args;
......
...@@ -48,11 +48,9 @@ extern int FPrintF (); /* (File w, char *fmt,...) */ ...@@ -48,11 +48,9 @@ extern int FPrintF (); /* (File w, char *fmt,...) */
#endif #endif
#ifdef _VARARGS_ #ifdef _VARARGS_
extern void DoError (char *fmt,...);
extern void DoFatalError (char *fmt,...); extern void DoFatalError (char *fmt,...);
extern void CmdError (char *errormsg,...); extern void CmdError (char *errormsg,...);
#else #else
extern void DoError ();
extern void DoFatalError (); extern void DoFatalError ();
extern void CmdError (); extern void CmdError ();
#endif #endif
......
...@@ -56,16 +56,6 @@ int FPutS (char *s, File f) ...@@ -56,16 +56,6 @@ int FPutS (char *s, File f)
} /* FPutS */ } /* FPutS */
/* Error Handling */ /* 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, ...) void DoFatalError (char *fmt, ...)
{ va_list args; { va_list args;
......
...@@ -52,17 +52,6 @@ int FPutS (char *s, File f) ...@@ -52,17 +52,6 @@ int FPutS (char *s, File f)
return fputs (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, ...) void DoFatalError (char *fmt, ...)
{ {
va_list args; va_list args;
......
Supports Markdown
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