diff --git a/configure b/configure index 8eaed0697b..b0d5b8e586 100755 --- a/configure +++ b/configure @@ -20642,6 +20642,7 @@ TOPDIR=`/bin/pwd` # Add "V=1" to KERNELMAKE_PARAMS to enable verbose module build KERNELMAKE_PARAMS= KERNELCPPFLAGS="${KERNELCPPFLAGS} -I$TOPDIR -I$TOPDIR/include" +KERNELCPPFLAGS="${KERNELCPPFLAGS} -Wstrict-prototypes -Werror" if test "${LINUX_OBJ}" != "${LINUX}"; then KERNELMAKE_PARAMS="$KERNELMAKE_PARAMS O=$kernelbuild" diff --git a/configure.ac b/configure.ac index 385fdcdfba..5329a11577 100644 --- a/configure.ac +++ b/configure.ac @@ -79,7 +79,7 @@ TOPDIR=`/bin/pwd` # Add "V=1" to KERNELMAKE_PARAMS to enable verbose module build KERNELMAKE_PARAMS= KERNELCPPFLAGS="${KERNELCPPFLAGS} -I$TOPDIR -I$TOPDIR/include" -KERNELCPPFLAGS="${KERNELCPPFLAGS} -Wstrict-prototypes -Werror -Wshadow" +KERNELCPPFLAGS="${KERNELCPPFLAGS} -Wstrict-prototypes -Werror" if test "${LINUX_OBJ}" != "${LINUX}"; then KERNELMAKE_PARAMS="$KERNELMAKE_PARAMS O=$kernelbuild"