From: Daan De Meyer Date: Mon, 6 Oct 2025 10:44:09 +0000 (+0200) Subject: docs: Mention newline requirement for multi-line function decl X-Git-Tag: v259-rc1~375 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f228115a690440f480a055d1fa9122443eea8ebd;p=thirdparty%2Fsystemd.git docs: Mention newline requirement for multi-line function decl --- diff --git a/docs/CODING_STYLE.md b/docs/CODING_STYLE.md index 82b33029532..71ebecaf359 100644 --- a/docs/CODING_STYLE.md +++ b/docs/CODING_STYLE.md @@ -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: