tech-userlevel archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

followup style(5) change



I don't expect the following to be controversial:

Index: style
===================================================================
RCS file: /cvsroot/src/share/misc/style,v
retrieving revision 1.69
diff -u -r1.69 style
--- style	30 Mar 2023 10:39:30 -0000	1.69
+++ style	1 Apr 2023 20:48:50 -0000
@@ -355,8 +355,8 @@
 	/*
 	 * When declaring variables in functions declare them sorted by size,
 	 * then in alphabetical order; multiple ones per line are okay.
-	 * Function prototypes should go in the include file "extern.h".
-	 * If a line overflows reuse the type keyword.
+	 * Function prototypes and external data declarations should go in a
+	 * suitable include file. If a line overflows reuse the type keyword.
 	 *
 	 * Avoid initializing variables in the declarations; move
 	 * declarations next to their first use, and initialize


(I'd apparently already been carrying this change in one of my trees
since 2012, along with some related ones superseded by the externs
update, and got reminded of it by a merge conflict)

-- 
David A. Holland
dholland%netbsd.org@localhost


Home | Main Index | Thread Index | Old Index