From: Todd C. Miller Date: Thu, 10 Mar 2005 14:53:04 +0000 (+0000) Subject: make this build in K&R land X-Git-Tag: SUDO_1_7_0~681 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=40b899b10ca19c13a927351318939c6de4f3377d;p=sudo make this build in K&R land --- diff --git a/alias.c b/alias.c index e36f8f031..00d327bd0 100644 --- a/alias.c +++ b/alias.c @@ -128,7 +128,7 @@ alias_add(name, type, members) */ void alias_apply(func, cookie) - int (*func)(VOID *, VOID *); + int (*func) __P((VOID *, VOID *)); VOID *cookie; { rbapply(aliases, func, cookie, inorder); diff --git a/error.c b/error.c index 5e13b4678..62fccbaf9 100644 --- a/error.c +++ b/error.c @@ -56,7 +56,7 @@ void #ifdef __STDC__ errorx(int eval, const char *fmt, ...) #else -error(eval, fmt, va_alist) +errorx(eval, fmt, va_alist) int eval; const char *fmt; va_dcl @@ -97,7 +97,7 @@ void #ifdef __STDC__ warningx(const char *fmt, ...) #else -warning(fmt, va_alist) +warningx(fmt, va_alist) const char *fmt; va_dcl #endif