Mercurial > dropbear
view dropbear_lint.sh @ 1798:8dc43b30c6bf
Define _GNU_SOURCE properly, other header fixes
This lets -std=c89 build for gcc 8.4.0
author | Matt Johnston <matt@ucc.asn.au> |
---|---|
date | Thu, 04 Mar 2021 21:03:02 +0800 |
parents | 90fffce0ee99 |
children |
line wrap: on
line source
#!/bin/sh EXITCODE=0 # #ifdef instead of #if grep '#ifdef DROPBEAR' -I *.c *.h && EXITCODE=1 exit $EXITCODE