PERFORCE change 85346 for review

Robert Watson rwatson at FreeBSD.org
Sat Oct 15 09:50:27 PDT 2005


http://perforce.freebsd.org/chv.cgi?CH=85346

Change 85346 by rwatson at rwatson_peppercorn on 2005/10/15 16:50:14

	Staticize audit_sys_auditon(), since it's only used in
	kern_bsm_audit.c.

Affected files ...

.. //depot/projects/trustedbsd/audit3/sys/security/audit/kern_bsm_audit.c#18 edit

Differences ...

==== //depot/projects/trustedbsd/audit3/sys/security/audit/kern_bsm_audit.c#18 (text+ko) ====

@@ -62,7 +62,8 @@
 /* 
  * Forward declares.
  */
-void	audit_sys_auditon(struct audit_record *ar, struct au_record *rec);
+static void	audit_sys_auditon(struct audit_record *ar,
+		    struct au_record *rec);
 
 /*
  * Initialize the BSM auditing subsystem.
@@ -308,9 +309,8 @@
  * Implement auditing for the auditon() system call. The audit tokens
  * that are generated depend on the command that was sent into the 
  * auditon() system call.
- *
  */
-void
+static void
 audit_sys_auditon(struct audit_record *ar, struct au_record *rec)
 {
 	struct au_token *tok;


More information about the p4-projects mailing list