PERFORCE change 163564 for review

Marko Zec zec at FreeBSD.org
Fri Jun 5 14:43:16 UTC 2009


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

Change 163564 by zec at zec_tpx32 on 2009/06/05 14:42:33

	Improve style - enclose return values in braces.
	Pointed out by:	julian

Affected files ...

.. //depot/projects/vimage-commit2/src/sys/kern/uipc_domain.c#6 edit
.. //depot/projects/vimage-commit2/src/sys/netgraph/ng_base.c#30 edit
.. //depot/projects/vimage-commit2/src/sys/netinet/in_rmx.c#32 edit

Differences ...

==== //depot/projects/vimage-commit2/src/sys/kern/uipc_domain.c#6 (text+ko) ====

@@ -210,7 +210,7 @@
 		if (pr->pr_destroy)
 			(*pr->pr_destroy)();
 
-	return 0;
+	return (0);
 }
 #endif
 

==== //depot/projects/vimage-commit2/src/sys/netgraph/ng_base.c#30 (text+ko) ====

@@ -3095,7 +3095,7 @@
 
 	V_nextID = 1;
 
-	return 0;
+	return (0);
 }
 
 #ifdef VIMAGE 
@@ -3120,7 +3120,7 @@
 		last_killed = node;
 	}
 
-	return 0;
+	return (0);
 }
 #endif /* VIMAGE */
 

==== //depot/projects/vimage-commit2/src/sys/netinet/in_rmx.c#32 (text+ko) ====

@@ -392,7 +392,7 @@
 	INIT_VNET_INET(curvnet);
 
 	callout_drain(&V_rtq_timer);
-	return 1;
+	return (1);
 }
 #endif
 


More information about the p4-projects mailing list