fix an underflow and make should_alloc always NUL terminate the string
[rpi-open-firmware.git] /
1 #!/bin/sh
3 # runs astyle on our code to conform to project standards
4 # contributors should run this prior to PRs
6 # a handful of subprojects (BCM headers, libfdt, etc.) are included in-tree
7 # to avoid create merge conflicts when pulling upstream, only style our code
8 FILES="*.c *.cc *.h arm_chainloader/*.c arm_chainloader/*.cc arm_chainloader/*.h arm_chainloader/drivers/*.cc arm_chainloader/drivers/*.hpp"
10 # run astyle with tabs and attached braces
11 astyle --style=attach --indent=tab $FILES
This page took 0.070695 seconds and 4 git commands to generate.