aboutsummaryrefslogtreecommitdiff
path: root/stylesheet.txt
diff options
context:
space:
mode:
authorKimplul <kimi.h.kuparinen@gmail.com>2022-01-07 19:01:25 +0200
committerKimplul <kimi.h.kuparinen@gmail.com>2022-01-07 19:04:38 +0200
commitc4bee44adf8e8377b2d8d7e8bcd83277b690821c (patch)
tree4eb84d3809ca069983b508f4d40c490fb4195c58 /stylesheet.txt
parent5fd0d48f6371f04e910730493ce908807af5c46a (diff)
downloadkmi-c4bee44adf8e8377b2d8d7e8bcd83277b690821c.tar.gz
kmi-c4bee44adf8e8377b2d8d7e8bcd83277b690821c.zip
Prefix static functions with __
+ Probably completely unnecessary stylistic thing, but I'll roll with it
Diffstat (limited to 'stylesheet.txt')
-rw-r--r--stylesheet.txt7
1 files changed, 7 insertions, 0 deletions
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.