opnsense-src/share
Brooks Davis ebfb117e2e style(9): deprecate blank lines without local vars
Previously (208be1617c) such lines were made optional and several
of us had the impression that they were more completely deprecated.
Do that now.

Requiring a blank line at the top of a function if there are no local
declerations dates to the original style.9 commit (b030a30523) and was
present in the first version of admin/style/style from mckusick@ in 1991.
It's certainly consistant to have a blank line after a null-set of
variables, but today it's unique to BSD source code and an occational
point of friction to new developers.

Document the historic practice and encourage removal in the context of
other changes, but not sweeping removal commits for their own sake.

Reviewed by:	imp, emaste
Differential Revision:	https://reviews.freebsd.org/D47887
2024-12-04 21:43:31 +00:00
..
colldef Remove residual blank line at start of Makefile 2024-07-15 16:43:39 -06:00
colldef_unicode locales: update unicode version 16 and CLDR to version 45 2024-10-14 10:43:39 +02:00
ctypedef ctypedef: Remove || true from localedef command to reveal error sooner 2024-10-15 18:39:31 +08:00
dict Remove residual blank line at start of Makefile 2024-07-15 16:43:39 -06:00
doc Remove residual blank line at start of Makefile 2024-07-15 16:43:39 -06:00
dtrace libdtrace: decode all tcp header flags and add 2023-12-31 15:02:03 +01:00
examples release: add optional OCI images 2024-11-08 13:23:08 +00:00
i18n Remove residual blank line at start of Makefile 2024-07-15 16:43:39 -06:00
keys Remove residual blank line at start of Makefile 2024-07-15 16:43:39 -06:00
man style(9): deprecate blank lines without local vars 2024-12-04 21:43:31 +00:00
misc committers-src: Add jlduran with emaste as mentor 2024-10-30 04:42:11 +00:00
mk usr.bin/bc: remove OpenBSD derived bc and dc commands 2024-11-24 22:38:23 +01:00
monetdef Remove $FreeBSD$: one-line sh pattern 2023-08-16 11:55:03 -06:00
monetdef_unicode locales: add missing af_ZA.UTF8 2024-10-14 11:56:30 +02:00
msgdef msgdef: fix NO and SI locales 2023-09-21 12:54:21 +02:00
msgdef_unicode Remove $FreeBSD$: one-line sh pattern 2023-08-16 11:55:03 -06:00
numericdef Remove residual blank line at start of Makefile 2024-07-15 16:43:39 -06:00
numericdef_unicode locales: update unicode version 16 and CLDR to version 45 2024-10-14 10:43:39 +02:00
security Remove residual blank line at start of Makefile 2024-07-15 16:43:39 -06:00
sendmail Remove $FreeBSD$: one-line sh pattern 2023-08-16 11:55:03 -06:00
skel Remove residual blank line at start of Makefile 2024-07-15 16:43:39 -06:00
snmp Remove residual blank line at start of Makefile 2024-07-15 16:43:39 -06:00
syscons Remove residual blank line at start of Makefile 2024-07-15 16:43:39 -06:00
tabset Remove residual blank line at start of Makefile 2024-07-15 16:43:39 -06:00
termcap Remove residual blank line at start of Makefile 2024-07-15 16:43:39 -06:00
tests Remove residual blank line at start of Makefile 2024-07-15 16:43:39 -06:00
timedef timedef: remove redundancy in Catalan date_fmt definitions 2024-11-13 16:12:42 -06:00
vt Remove residual blank line at start of Makefile 2024-07-15 16:43:39 -06:00
zoneinfo Remove residual blank line at start of Makefile 2024-07-15 16:43:39 -06:00
Makefile Remove residual blank line at start of Makefile 2024-07-15 16:43:39 -06:00
Makefile.inc Remove residual blank line at start of Makefile 2024-07-15 16:43:39 -06:00