PERFORCE change 180509 for review

Ilya Bakulin kibab at FreeBSD.org
Mon Jul 5 22:03:28 UTC 2010


http://p4web.freebsd.org/@@180509?ac=10

Change 180509 by kibab at kibab_kibab-nb on 2010/07/05 22:02:37

	style(9).

Affected files ...

.. //depot/projects/soc2010/kibab_sysctlreg/src_lib_libc/gen/feature_present.c#3 edit

Differences ...

==== //depot/projects/soc2010/kibab_sysctlreg/src_lib_libc/gen/feature_present.c#3 (text+ko) ====

@@ -43,15 +43,16 @@
  * Returns true if the feature is disabled.
  */
 static int
-is_feature_disabled(const char *str_to_test) {
+is_feature_disabled(const char *str_to_test)
+{
 	char *token, *dis_features;
 
 	dis_features = getenv("FEATURES_DISABLE");
-	if(!dis_features)
+	if (!dis_features)
 		return (0);
 
 	while ((token = strsep(&dis_features, " ")) != NULL) {
-		if (strcmp(token, str_to_test)==0)
+		if (strcmp(token, str_to_test) == 0)
 			return (1);
 	}
 	return (0);


More information about the p4-projects mailing list