diff options
Diffstat (limited to 'error.c')
-rw-r--r-- | error.c | 18 |
1 files changed, 18 insertions, 0 deletions
@@ -246,6 +246,24 @@ internal_error (format, va_alist) va_end (args); } +#if defined (PREFER_STDARG) +invalid_cmd (const char *format, ...) +#else +invalid_cmd (format, va_alist) + const char *format; + va_dcl +#endif +{ + va_list args; + + SH_VA_START (args, format); + + vfprintf (stderr, format, args); + fprintf (stderr, "\n"); + + va_end (args); +} + void #if defined (PREFER_STDARG) internal_warning (const char *format, ...) |