blob: cf0623a2798f51607b5b32c4cb077b7fedc9a7a9 [file] [log] [blame]
#!/bin/bash
# SPDX-License-Identifier: GPL-2.0-or-later
set -e -u -o pipefail
find . -name '*.c' | while read -r file; do
sparse "$file" -gcc-base-dir "$(gcc --print-file-name=)" \
-D_FILE_OFFSET_BITS=64 -I. -Wbitwise
done