chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
7308364
)
CODING_STYLE: document that we don't break lines at 80ch
author
Lennart Poettering
<lennart@poettering.net>
Thu, 21 Aug 2014 14:10:37 +0000
(16:10 +0200)
committer
Lennart Poettering
<lennart@poettering.net>
Thu, 21 Aug 2014 15:24:21 +0000
(17:24 +0200)
CODING_STYLE
patch
|
blob
|
history
diff --git
a/CODING_STYLE
b/CODING_STYLE
index ca3b5183f901037a1e6b201e13f231f86fa8b9db..a3fc26c1e1b93e481a8e0ae077b2b92349316a1e 100644
(file)
--- a/
CODING_STYLE
+++ b/
CODING_STYLE
@@
-1,6
+1,9
@@
-
- 8ch indent, no tabs
- 8ch indent, no tabs
+- Don't break code lines too eagerly. We do *not* force line breaks at
+ 80ch, all of today's screens should be much larger than that. But
+ then again, don't overdo it, ~140ch should be enough really.
+
- Variables and functions *must* be static, unless they have a
prototype, and are supposed to be exported.
- Variables and functions *must* be static, unless they have a
prototype, and are supposed to be exported.