Skip to content

Commit

Permalink
Fixes for checkstyle
Browse files Browse the repository at this point in the history
Exclude rpcgen generated files from cstyle check and
add gitignore for rpcgen created files.

Signed-off-by: Andrew Walker <awalker@ixsystems.com>
  • Loading branch information
anodos325 authored and Ryan Moeller committed May 14, 2021
1 parent 4b4d34d commit 7bf157e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,8 @@
modules.order
Makefile
Makefile.in
nfs41acl.h
nfs41acl_xdr.c

#
# Top level generated files specific to this top level dir
Expand Down
1 change: 1 addition & 0 deletions Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -117,6 +117,7 @@ cstyle:
@find ${top_srcdir} -name build -prune -o -name zfsd -prune \
-o -type f -name '*.[hc]' \
! -name 'zfs_config.*' ! -name '*.mod.c' \
! -name 'nfs41acl_xdr.c' ! -name 'nfs41acl.h' \
! -name 'opt_global.h' ! -name '*_if*.h' \
! -path './module/zstd/lib/*' \
-exec ${top_srcdir}/scripts/cstyle.pl -cpP {} \+
Expand Down

0 comments on commit 7bf157e

Please sign in to comment.