diff options
Diffstat (limited to 'src/util/ss/error.c')
| -rw-r--r-- | src/util/ss/error.c | 28 |
1 files changed, 0 insertions, 28 deletions
diff --git a/src/util/ss/error.c b/src/util/ss/error.c index 0274bce61b..064805506c 100644 --- a/src/util/ss/error.c +++ b/src/util/ss/error.c @@ -7,23 +7,10 @@ #include <stdio.h> -/* - * I'm assuming that com_err.h includes varargs.h, which it does - * (right now). There really ought to be a way for me to include the - * file without worrying about whether com_err.h includes it or not, - * but varargs.h doesn't define anything that I can use as a flag, and - * gcc will lose if I try to include it twice and redefine stuff. - */ -#if !defined(__STDC__) || !defined(ibm032) || !defined(NeXT) -#define ss_error ss_error_external -#endif - #include "copyright.h" #include "com_err.h" #include "ss_internal.h" -#undef ss_error - char * ss_name(sci_idx) int sci_idx; { @@ -62,26 +49,11 @@ char * ss_name(sci_idx) } } -#ifdef HAVE_STDARG_H void ss_error (int sci_idx, long code, const char * fmt, ...) -#else -void ss_error (va_alist) - va_dcl -#endif { register char *whoami; va_list pvar; -#ifndef HAVE_STDARG_H - int sci_idx; - long code; - char * fmt; - va_start (pvar); - sci_idx = va_arg (pvar, int); - code = va_arg (pvar, long); - fmt = va_arg (pvar, char *); -#else va_start (pvar, fmt); -#endif whoami = ss_name (sci_idx); com_err_va (whoami, code, fmt, pvar); free (whoami); |
