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
alias_apply(func, cookie)
int (*func)(VOID *, VOID *);
int (*func) __P((VOID *, VOID *));
VOID *cookie;
{
rbapply(aliases, func, cookie, inorder);

View File

@@ -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