From owner-p4-projects@FreeBSD.ORG Sat Oct 15 16:50:27 2005 Return-Path: X-Original-To: p4-projects@freebsd.org Delivered-To: p4-projects@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 32767) id A545416A41F; Sat, 15 Oct 2005 16:50:26 +0000 (GMT) X-Original-To: perforce@freebsd.org Delivered-To: perforce@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5258816A41F for ; Sat, 15 Oct 2005 16:50:26 +0000 (GMT) (envelope-from bb+lists.freebsd.perforce@cyrus.watson.org) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 184F043D46 for ; Sat, 15 Oct 2005 16:50:26 +0000 (GMT) (envelope-from bb+lists.freebsd.perforce@cyrus.watson.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.1/8.13.1) with ESMTP id j9FGoPCk073442 for ; Sat, 15 Oct 2005 16:50:25 GMT (envelope-from bb+lists.freebsd.perforce@cyrus.watson.org) Received: (from perforce@localhost) by repoman.freebsd.org (8.13.1/8.13.1/Submit) id j9FGoPUj073439 for perforce@freebsd.org; Sat, 15 Oct 2005 16:50:25 GMT (envelope-from bb+lists.freebsd.perforce@cyrus.watson.org) Date: Sat, 15 Oct 2005 16:50:25 GMT Message-Id: <200510151650.j9FGoPUj073439@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: perforce set sender to bb+lists.freebsd.perforce@cyrus.watson.org using -f From: Robert Watson To: Perforce Change Reviews Cc: Subject: PERFORCE change 85346 for review X-BeenThere: p4-projects@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: p4 projects tree changes List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 15 Oct 2005 16:50:27 -0000 http://perforce.freebsd.org/chv.cgi?CH=85346 Change 85346 by rwatson@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;