2
0
mirror of https://github.com/sudo-project/sudo.git synced 2025-08-29 13:28:10 +00:00

make this build in K&R land

This commit is contained in:
Todd C. Miller 2005-03-10 14:53:04 +00:00
parent f35ff3e327
commit 40b899b10c
2 changed files with 3 additions and 3 deletions

View File

@ -128,7 +128,7 @@ alias_add(name, type, members)
*/ */
void void
alias_apply(func, cookie) alias_apply(func, cookie)
int (*func)(VOID *, VOID *); int (*func) __P((VOID *, VOID *));
VOID *cookie; VOID *cookie;
{ {
rbapply(aliases, func, cookie, inorder); rbapply(aliases, func, cookie, inorder);

View File

@ -56,7 +56,7 @@ void
#ifdef __STDC__ #ifdef __STDC__
errorx(int eval, const char *fmt, ...) errorx(int eval, const char *fmt, ...)
#else #else
error(eval, fmt, va_alist) errorx(eval, fmt, va_alist)
int eval; int eval;
const char *fmt; const char *fmt;
va_dcl va_dcl
@ -97,7 +97,7 @@ void
#ifdef __STDC__ #ifdef __STDC__
warningx(const char *fmt, ...) warningx(const char *fmt, ...)
#else #else
warning(fmt, va_alist) warningx(fmt, va_alist)
const char *fmt; const char *fmt;
va_dcl va_dcl
#endif #endif