PERFORCE change 19768 for review

Robert Watson rwatson at freebsd.org
Mon Oct 21 04:25:05 GMT 2002


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

Change 19768 by rwatson at 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 at trustedbsd.org
with "unsubscribe trustedbsd-cvs" in the body of the message



More information about the trustedbsd-cvs mailing list