From owner-p4-projects Thu Sep 12 13:47:48 2002 Delivered-To: p4-projects@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 32767) id 1A7D337B401; Thu, 12 Sep 2002 13:47:42 -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 B30B737B400 for ; Thu, 12 Sep 2002 13:47:41 -0700 (PDT) Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6D27243E6E for ; Thu, 12 Sep 2002 13:47:41 -0700 (PDT) (envelope-from bb+lists.freebsd.perforce@cyrus.watson.org) Received: from freefall.freebsd.org (perforce@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.4/8.12.4) with ESMTP id g8CKlfJU068236 for ; Thu, 12 Sep 2002 13:47:41 -0700 (PDT) (envelope-from bb+lists.freebsd.perforce@cyrus.watson.org) Received: (from perforce@localhost) by freefall.freebsd.org (8.12.4/8.12.4/Submit) id g8CKlfZw068233 for perforce@freebsd.org; Thu, 12 Sep 2002 13:47:41 -0700 (PDT) Date: Thu, 12 Sep 2002 13:47:41 -0700 (PDT) Message-Id: <200209122047.g8CKlfZw068233@freefall.freebsd.org> X-Authentication-Warning: freefall.freebsd.org: perforce set sender to bb+lists.freebsd.perforce@cyrus.watson.org using -f From: Robert Watson Subject: PERFORCE change 17420 for review To: Perforce Change Reviews Sender: owner-p4-projects@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG http://people.freebsd.org/~peter/p4db/chv.cgi?CH=17420 Change 17420 by rwatson@rwatson_sproing on 2002/09/12 13:46:57 Remove unused functions and restore building with -Werror. Affected files ... .. //depot/projects/trustedbsd/mac/sys/security/mac_biba/mac_biba.c#103 edit Differences ... ==== //depot/projects/trustedbsd/mac/sys/security/mac_biba/mac_biba.c#103 (text+ko) ==== @@ -241,19 +241,6 @@ } static int -mac_biba_equal_range(struct mac_biba *a, struct mac_biba *b) -{ - - KASSERT((a->mb_flags & MAC_BIBA_FLAG_RANGE) != 0, - ("mac_biba_equal_range: a not range")); - KASSERT((b->mb_flags & MAC_BIBA_FLAG_RANGE) != 0, - ("mac_biba_equal_range: b not range")); - - return (mac_biba_equal_element(&a->mb_rangelow, &b->mb_rangelow) && - mac_biba_equal_element(&a->mb_rangehigh, &b->mb_rangehigh)); -} - -static int mac_biba_equal_single(struct mac_biba *a, struct mac_biba *b) { @@ -266,13 +253,6 @@ } static int -mac_biba_high_single(struct mac_biba *mac_biba) -{ - - return (mac_biba->mb_single.mbe_type == MAC_BIBA_TYPE_HIGH); -} - -static int mac_biba_contains_equal(struct mac_biba *mac_biba) { To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe p4-projects" in the body of the message