From owner-p4-projects@FreeBSD.ORG Thu May 15 20:09:33 2003 Return-Path: Delivered-To: p4-projects@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 32767) id 9F9D737B404; Thu, 15 May 2003 20:09:32 -0700 (PDT) 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 426A137B401 for ; Thu, 15 May 2003 20:09:32 -0700 (PDT) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id DA1C843F85 for ; Thu, 15 May 2003 20:09:31 -0700 (PDT) (envelope-from bb+lists.freebsd.perforce@cyrus.watson.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.6/8.12.6) with ESMTP id h4G39V0U097151 for ; Thu, 15 May 2003 20:09:31 -0700 (PDT) (envelope-from bb+lists.freebsd.perforce@cyrus.watson.org) Received: (from perforce@localhost) by repoman.freebsd.org (8.12.6/8.12.6/Submit) id h4G39VfL097148 for perforce@freebsd.org; Thu, 15 May 2003 20:09:31 -0700 (PDT) Date: Thu, 15 May 2003 20:09:31 -0700 (PDT) Message-Id: <200305160309.h4G39VfL097148@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 Subject: PERFORCE change 31285 for review X-BeenThere: p4-projects@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: p4 projects tree changes List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 16 May 2003 03:09:33 -0000 http://perforce.freebsd.org/chv.cgi?CH=31285 Change 31285 by rwatson@rwatson_tislabs on 2003/05/15 20:09:16 Warning fixes to improve quality of LINT build. Affected files ... .. //depot/projects/trustedbsd/mac/sys/security/mac_lomac/mac_lomac.c#59 edit Differences ... ==== //depot/projects/trustedbsd/mac/sys/security/mac_lomac/mac_lomac.c#59 (text+ko) ==== @@ -438,6 +438,7 @@ mac_lomac->ml_flags |= MAC_LOMAC_FLAG_SINGLE; } +#if 0 static void mac_lomac_set_auxsingle(struct mac_lomac *mac_lomac, u_short type, u_short grade) @@ -447,6 +448,7 @@ mac_lomac->ml_auxsingle.mle_grade = grade; mac_lomac->ml_flags |= MAC_LOMAC_FLAG_AUX; } +#endif static void mac_lomac_copy_range(struct mac_lomac *labelfrom, struct mac_lomac *labelto) @@ -598,7 +600,7 @@ * at least a single), as for a relabel operation which may or may * not involve a relevant label. */ -void +static void try_relabel(struct mac_lomac *from, struct mac_lomac *to) {