From c4bee44adf8e8377b2d8d7e8bcd83277b690821c Mon Sep 17 00:00:00 2001 From: Kimplul Date: Fri, 7 Jan 2022 19:01:25 +0200 Subject: Prefix static functions with __ + Probably completely unnecessary stylistic thing, but I'll roll with it --- stylesheet.txt | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 stylesheet.txt (limited to 'stylesheet.txt') diff --git a/stylesheet.txt b/stylesheet.txt new file mode 100644 index 0000000..688cae5 --- /dev/null +++ b/stylesheet.txt @@ -0,0 +1,7 @@ +Mostly the same as the Linux coding standars, some additions: ++ Local functions should be marked static and be prefixed with __, the idea is + to hopefully minimize confusion about which header file the function came from. + I know, pretty dumb, but looks cool :) + ++ structs and enums shouldn't be suffixed with _t, whereas scalar types + should. -- cgit v1.3