audit-prototypes-20090315

LICENSE IPL10
FIXES 124232

prototype the audit directory
This commit is contained in:
Simon Wilkinson 2009-03-16 01:38:07 +00:00 committed by Derrick Brashear
parent c560efe73f
commit 00fd29251e

View File

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