summaryrefslogtreecommitdiffhomepage
path: root/dropbear_lint.sh
blob: 25a4b7d25a498c7b35c78c6ba6105c66f580a952 (plain)
1
2
3
4
5
6
7
8
#!/bin/sh

EXITCODE=0

# #ifdef instead of #if
grep '#ifdef DROPBEAR' -I *.c *.h && EXITCODE=1

exit $EXITCODE