Skip to content

Commit

Permalink
Code Format: Linux kernel coding style
Browse files Browse the repository at this point in the history
  • Loading branch information
kravemir committed Jun 24, 2018
1 parent 800b274 commit 3a2c39b
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion scripts/format_code.sh
Expand Up @@ -9,4 +9,7 @@ PATHS=(
"${PROJECT_DIR}/src/daemon/"
)

astyle --recursive --style=linux "${PATHS[@]/%/\*.h}" "${PATHS[@]/%/\*.c}"
astyle --recursive \
--style=linux --indent=tab --align-pointer=name \
--unpad-paren --pad-header --pad-oper \
"${PATHS[@]/%/\*.h}" "${PATHS[@]/%/\*.c}"

0 comments on commit 3a2c39b

Please sign in to comment.