Remove redundant includes
The program deheader was used to create a list of redundant headers:
https://gitlab.com/esr/deheader
This change was necessary in the deheader python file:
command = maker
This script was run:
if [ $(echo $CFLAGS | grep -c "Werror-implicit-function-declaration" )
-ne 1 ]
then
export CFLAGS="$CFLAGS -Werror-implicit-function-declaration"
fi
rm -r build
meson setup build
ninja -C build
for file in "$@"
do
filename=${file##*/}
filestem=${filename%.*}
$HOME/bin/deheader/deheader -m 'ninja -C build' -i
"$filestem.h" "$file" # include -r for final run
touch "$file"
done
69 files changed: