diff options
author | Mark Eichin <eichin@mit.edu> | 1994-06-16 00:29:10 +0000 |
---|---|---|
committer | Mark Eichin <eichin@mit.edu> | 1994-06-16 00:29:10 +0000 |
commit | 83affe7dd9183f9b1b06831080ced4bf09a7ad10 (patch) | |
tree | 20e25d661017507f722b41a5a6f452948148798f | |
parent | abac0b20e7ff4c0a6bb84ea738e02070b68fbf33 (diff) | |
download | krb5-83affe7dd9183f9b1b06831080ced4bf09a7ad10.tar.gz krb5-83affe7dd9183f9b1b06831080ced4bf09a7ad10.tar.xz krb5-83affe7dd9183f9b1b06831080ced4bf09a7ad10.zip |
use STDARG_PROTOTYPES since it is already available
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@3824 dc483132-0cff-0310-8789-dd5450dbe970
-rw-r--r-- | src/util/ss/configure.in | 1 | ||||
-rw-r--r-- | src/util/ss/error.c | 8 |
2 files changed, 5 insertions, 4 deletions
diff --git a/src/util/ss/configure.in b/src/util/ss/configure.in index 870d60ec09..8bc4bdda66 100644 --- a/src/util/ss/configure.in +++ b/src/util/ss/configure.in @@ -11,4 +11,5 @@ CHECK_DIRENT CHECK_FCNTL CHECK_WAIT_TYPE CHECK_SIGPROCMASK +CHECK_STDARG AC_OUTPUT(Makefile,[EXTRA_RULES]) diff --git a/src/util/ss/error.c b/src/util/ss/error.c index 764e88eeea..1f2d943012 100644 --- a/src/util/ss/error.c +++ b/src/util/ss/error.c @@ -23,12 +23,12 @@ #include "ss_internal.h" #if (defined(_STDARG_H_) || defined(_STDARG_H)) -#define STDARG +#define STDARG_PROTOTYPES #endif #ifndef __STDC__ /* we didn't get it in com_err.h if it wasn't STDC. */ -#ifndef STDARG +#ifndef STDARG_PROTOTYPES /* and we don't need it, either, if we're using stdarg.h... */ #include <varargs.h> #endif @@ -74,7 +74,7 @@ char * ss_name(sci_idx) } } -#ifdef STDARG +#ifdef STDARG_PROTOTYPES void ss_error (int sci_idx, long code, const char * fmt, ...) #else void ss_error (va_alist) @@ -83,7 +83,7 @@ void ss_error (va_alist) { register char const *whoami; va_list pvar; -#ifndef STDARG +#ifndef STDARG_PROTOTYPES int sci_idx; long code; char * fmt; |