=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/su/su.c,v retrieving revision 1.43 retrieving revision 1.44 diff -u -r1.43 -r1.44 --- src/usr.bin/su/su.c 2002/02/16 21:27:54 1.43 +++ src/usr.bin/su/su.c 2002/02/19 19:39:39 1.44 @@ -1,4 +1,4 @@ -/* $OpenBSD: su.c,v 1.43 2002/02/16 21:27:54 millert Exp $ */ +/* $OpenBSD: su.c,v 1.44 2002/02/19 19:39:39 millert Exp $ */ /* * Copyright (c) 1988 The Regents of the University of California. @@ -43,7 +43,7 @@ #if 0 static const char sccsid[] = "from: @(#)su.c 5.26 (Berkeley) 7/6/91"; #else -static const char rcsid[] = "$OpenBSD: su.c,v 1.43 2002/02/16 21:27:54 millert Exp $"; +static const char rcsid[] = "$OpenBSD: su.c,v 1.44 2002/02/19 19:39:39 millert Exp $"; #endif #endif /* not lint */ @@ -62,11 +62,7 @@ #include #include #include -#ifdef __STDC__ #include -#else -#include -#endif #include char *ontty(void); @@ -349,52 +345,20 @@ } void -#ifdef __STDC__ auth_err(auth_session_t *as, int eval, const char *fmt, ...) -#else -auth_err(va_alist) - va_dcl -#endif { va_list ap; -#ifdef __STDC__ va_start(ap, fmt); -#else - auth_session_t *as; - int eval; - const char *fmt; - - va_start(ap); - as = va_arg(ap, auth_session_t *); - eval = va_arg(ap, int); - fmt = va_arg(ap, const char *); -#endif verr(eval, fmt, ap); auth_close(as); va_end(ap); } void -#ifdef __STDC__ auth_errx(auth_session_t *as, int eval, const char *fmt, ...) -#else -auth_errx(va_alist) - va_dcl -#endif { va_list ap; -#ifdef __STDC__ va_start(ap, fmt); -#else - auth_session_t *as; - int eval; - const char *fmt; - - va_start(ap); - as = va_arg(ap, auth_session_t *); - eval = va_arg(ap, int); - fmt = va_arg(ap, const char *); -#endif verrx(eval, fmt, ap); auth_close(as); va_end(ap);