make this build in K&R land
This commit is contained in:
2
alias.c
2
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);
|
||||
|
4
error.c
4
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
|
||||
|
Reference in New Issue
Block a user