diff options
author | Brian Behlendorf <[email protected]> | 2013-10-30 11:19:53 -0700 |
---|---|---|
committer | Brian Behlendorf <[email protected]> | 2013-10-30 11:36:30 -0700 |
commit | a35beedfb3f25596b4ec9122742c1337083118f5 (patch) | |
tree | 9f27922963030e0f6257bc13f636f47c51d92924 /module/zfs/zpl_ctldir.c | |
parent | 495b25a91a8f29aeec9e2965752a1fc9b9569583 (diff) |
Add cstyle.pl utility and cstyle.1 man page
Cstyle is the C source style checker used by Illumos. Since the
original ZFS source was written using these style guidelines they
must also be followed by ZoL for consistency.
The checker has been added to the scripts directory and may be
run on a per file basis. New patches should be careful to avoid
introducing new style warnings.
Additionally, the 'checkstyle' target has been added to the top
level Makefile and can be used to check the entire source tree.
While Zol has historically attempted to follow the SunOS style
guide the lack of a rigorous style checker has allowed various
warning to be introduced. Currently there are 2211 reported
style violations and we want to gradually eliminate these from
the tree.
Note the cstyle.1 man page is provided under man/man1/cstyle.1
but since it is a developer utility it is not installed along
with the other man pages.
Signed-off-by: Brian Behlendorf <[email protected]>
Diffstat (limited to 'module/zfs/zpl_ctldir.c')
0 files changed, 0 insertions, 0 deletions