Adding make style
This commit is contained in:
parent
568317929d
commit
723e2860ae
2 changed files with 11 additions and 3 deletions
5
HACKING
5
HACKING
|
|
@ -11,8 +11,9 @@ Here are some directions to get you started:
|
|||
is consistent in style and thus easier to read.
|
||||
Look around and respect the same style.
|
||||
Don't use tabs. Increment unit is two spaces.
|
||||
Don't leave dandling spaces or tabs at EOL. Helper script:
|
||||
$ find . -name '*.[ch]' -exec perl -pi -e 's/[ \t]+$//;' {} \;
|
||||
Don't leave dandling spaces or tabs at EOL.
|
||||
Helper script to get some uniformity in the style:
|
||||
$ make style
|
||||
|
||||
2. Chase warnings: no warning should be introduced by your changes
|
||||
Depending what you touch, you can check with:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue