From a3e9acf2cc34e06b5ba60b3e9c7ed4fefa093196 Mon Sep 17 00:00:00 2001 From: Kubat <mael.martin31@gmail.com> Date: Fri, 23 Apr 2021 09:53:37 +0200 Subject: [PATCH] MISC: Update contributing, don't use __, prefer ___ --- CONTRIBUTING.md | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 5073a39a..246126f9 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -46,10 +46,11 @@ script found at the root of the build tree: `./debug lektord`. ### C code and style -Prefer using `}` names for static variables and functions. Prefix the -name of the file or folder in function names, e.g. `database_` or -`command_`. If you declare functions that really nobody should used, -please prefix them with three underscores like `___${name}`. +Prefer using `___` prefixed names for static variables and functions. +Prefix the name of the file or folder in function names, e.g. +`database_` or `command_`. If you declare functions that really nobody +should used, please prefix them with three underscores like +`___dothing`. General functions are prefixed `lkt_`. For formating, use the `./utils/scripts/style.bash` from the root of the project. You'll need `clang-format` for it to works. -- GitLab