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
|
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);
|
||||||
|
4
error.c
4
error.c
@@ -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
|
||||||
|
Reference in New Issue
Block a user