From 00fd29251e9326bd81d46387337ca014a118f7ec Mon Sep 17 00:00:00 2001 From: Simon Wilkinson Date: Mon, 16 Mar 2009 01:38:07 +0000 Subject: [PATCH] audit-prototypes-20090315 LICENSE IPL10 FIXES 124232 prototype the audit directory --- src/audit/audit.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/audit/audit.c b/src/audit/audit.c index d42b44fd8a..7c35882486 100644 --- a/src/audit/audit.c +++ b/src/audit/audit.c @@ -61,8 +61,9 @@ int osi_echo_trail = (-1); FILE *auditout = NULL; -int osi_audit_check(); +int osi_audit_check(void); +#ifdef AFS_AIX32_ENV static void audmakebuf(char *audEvent, va_list vaList) { @@ -73,7 +74,6 @@ audmakebuf(char *audEvent, va_list vaList) int vaInt; afs_int32 vaLong; char *vaStr; - va_list vaLst; struct AFSFid *vaFid; vaEntry = va_arg(vaList, int); @@ -148,6 +148,7 @@ audmakebuf(char *audEvent, va_list vaList) vaEntry = va_arg(vaList, int); } /* end while */ } +#endif static void printbuf(FILE *out, int rec, char *audEvent, char *afsName, afs_int32 hostId, @@ -157,7 +158,6 @@ printbuf(FILE *out, int rec, char *audEvent, char *afsName, afs_int32 hostId, int vaInt; afs_int32 vaLong; char *vaStr; - va_list vaLst; struct AFSFid *vaFid; struct AFSCBFids *vaFids; int num = LogThreadNum(); @@ -526,7 +526,7 @@ osi_auditU(struct rx_call *call, char *audEvent, int errCode, ...) * ************************************************************************** */ int -osi_audit_check() +osi_audit_check(void) { FILE *fds; int onoff;