]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
docs: Mention newline requirement for multi-line function decl
authorDaan De Meyer <daan.j.demeyer@gmail.com>
Mon, 6 Oct 2025 10:44:09 +0000 (12:44 +0200)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Mon, 6 Oct 2025 11:06:03 +0000 (20:06 +0900)
docs/CODING_STYLE.md

index 82b3302953207ee7c87b71aeaba22540e3a97776..71ebecaf3598d1314e08dec799aa11d4ea098b8e 100644 (file)
@@ -37,7 +37,8 @@ SPDX-License-Identifier: LGPL-2.1-or-later
           int a, b, c;
   ```
 
-  (i.e. use double indentation — 16 spaces — for the parameter list.)
+  (i.e. use double indentation — 16 spaces — for the parameter list and leave a
+  newline between the function declaration and the first variable declaration.)
 
 - Try to write this: