1
0
mirror of https://github.com/systemd/systemd.git synced 2024-12-22 17:35:35 +03:00
systemd/doc
Zbigniew Jędrzejewski-Szmek d40f5cc498 CODING_STYLE: allow c99-style mixed code and declarations
We already allowed variables to be declared in the middle of a function
(whenever a new scope was opened), so this isn't such a big change. Sometimes
we would open a scope just to work around this prohibition.

But sometimes the code can be much clearer if the variable is declared
somewhere in the middle of a scope, in particular if the declaration is
combined with initialization or acquisition of some resources. So let's allow
this, but keep things in the old style, unless there's a good reason to move
the variable declaration to a different place.
2018-06-07 16:42:34 +02:00
..
sysvinit tree-wide: drop license boilerplate 2018-04-06 18:58:55 +02:00
var-log tree-wide: drop license boilerplate 2018-04-06 18:58:55 +02:00
CGROUP_DELEGATION.md doc: document nore carefully that tmpfs within the cgroupfs setup shouldn't confuse statfs() checks 2018-05-03 17:19:46 +02:00
CODE_QUALITY.md doc: add a list of code quality tools we have set up 2018-06-07 16:22:22 +02:00
CODING_STYLE CODING_STYLE: allow c99-style mixed code and declarations 2018-06-07 16:42:34 +02:00
DISTRO_PORTING doc: add a new doc/ directory, and move two markdown docs into them 2018-02-27 19:59:09 +01:00
ENVIRONMENT.md doc: add $SYSTEMD_TIMEDATED_NTP_SERVICES= in ENVIRONMENT.md (#8785) 2018-04-23 10:14:15 +02:00
HACKING HACKING: link up CODE_QUALITY.md 2018-06-07 16:26:00 +02:00
PORTABLE_SERVICES.md doc: fix quoting 2018-05-26 17:02:53 +02:00
TRANSIENT-SETTINGS.md doc: add a new doc/ directory, and move two markdown docs into them 2018-02-27 19:59:09 +01:00
TRANSLATORS doc: add a new doc/ directory, and move two markdown docs into them 2018-02-27 19:59:09 +01:00
UIDS-GIDS.md doc: clarify at which point user/group name resolution needs to work (#8884) 2018-05-07 14:49:16 +02:00