diff --git a/configure b/configure index 8eaed0697..b0d5b8e58 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 385fdcdfb..5329a1157 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"