From f228115a690440f480a055d1fa9122443eea8ebd Mon Sep 17 00:00:00 2001 From: Daan De Meyer Date: Mon, 6 Oct 2025 12:44:09 +0200 Subject: [PATCH] docs: Mention newline requirement for multi-line function decl --- docs/CODING_STYLE.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/docs/CODING_STYLE.md b/docs/CODING_STYLE.md index 82b3302953..71ebecaf35 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: