Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 20 Oct 2002 21:25:05 -0700 (PDT)
From:      Robert Watson <rwatson@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 19768 for review
Message-ID:  <200210210425.g9L4P5L3016270@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=19768

Change 19768 by rwatson@rwatson_paprika on 2002/10/20 21:24:49

	Style-ize some whitespace oddity.

Affected files ...

.. //depot/projects/trustedbsd/mac/sys/security/mac_biba/mac_biba.c#138 edit
.. //depot/projects/trustedbsd/mac/sys/security/mac_mls/mac_mls.c#118 edit

Differences ...

==== //depot/projects/trustedbsd/mac/sys/security/mac_biba/mac_biba.c#138 (text+ko) ====

@@ -124,12 +124,12 @@
 
 static __inline int
 biba_bit_set_empty(u_char *set) {
-		int i;
+	int i;
 
-		for (i = 0; i < MAC_BIBA_MAX_COMPARTMENTS >> 3; i++)
-			if (set[i] != 0)
-				return (0);
-		return (1);
+	for (i = 0; i < MAC_BIBA_MAX_COMPARTMENTS >> 3; i++)
+		if (set[i] != 0)
+			return (0);
+	return (1);
 }
 
 static struct mac_biba *

==== //depot/projects/trustedbsd/mac/sys/security/mac_mls/mac_mls.c#118 (text+ko) ====

@@ -114,13 +114,12 @@
 
 static __inline int
 mls_bit_set_empty(u_char *set) {
-		int i;
+	int i;
 
-
-		for (i = 0; i < MAC_MLS_MAX_COMPARTMENTS >> 3; i++)
-			if (set[i] != 0)
-				return (0);
-		return (1);
+	for (i = 0; i < MAC_MLS_MAX_COMPARTMENTS >> 3; i++)
+		if (set[i] != 0)
+			return (0);
+	return (1);
 }
 
 static struct mac_mls *

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe p4-projects" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200210210425.g9L4P5L3016270>