summaryrefslogtreecommitdiff
path: root/source4
diff options
context:
space:
mode:
Diffstat (limited to 'source4')
-rw-r--r--source4/build/smb_build/check_path.m42
-rw-r--r--source4/build/tests/summary.c2
-rw-r--r--source4/build/tests/trivial.c3
3 files changed, 6 insertions, 1 deletions
diff --git a/source4/build/smb_build/check_path.m4 b/source4/build/smb_build/check_path.m4
index 8b97f17c46..f2d06e384a 100644
--- a/source4/build/smb_build/check_path.m4
+++ b/source4/build/smb_build/check_path.m4
@@ -127,7 +127,7 @@ developer=no
AC_ARG_ENABLE(developer, [ --enable-developer Turn on developer warnings and debugging (default=no)],
[if eval "test x$enable_developer = xyes"; then
developer=yes
- CFLAGS="${CFLAGS} -g -Wall -Wshadow -Wstrict-prototypes -Wpointer-arith -Wcast-qual -Wcast-align -Wwrite-strings -DDEBUG_PASSWORD -DDEVELOPER"
+ CFLAGS="${CFLAGS} -g -Wall -Wshadow -Werror-implicit-function-declaration -Wstrict-prototypes -Wpointer-arith -Wcast-qual -Wcast-align -Wwrite-strings -DDEBUG_PASSWORD -DDEVELOPER"
fi])
AC_ARG_ENABLE(krb5developer, [ --enable-krb5developer Turn on developer warnings and debugging, except -Wstrict-prototypes (default=no)],
diff --git a/source4/build/tests/summary.c b/source4/build/tests/summary.c
index d3708c236c..8c318fe7d5 100644
--- a/source4/build/tests/summary.c
+++ b/source4/build/tests/summary.c
@@ -1,5 +1,7 @@
#include <stdio.h>
+void exit(int);
+
main()
{
#if !(defined(HAVE_FCNTL_LOCK) || defined(HAVE_STRUCT_FLOCK64))
diff --git a/source4/build/tests/trivial.c b/source4/build/tests/trivial.c
index 2723637a0f..f7e96d8109 100644
--- a/source4/build/tests/trivial.c
+++ b/source4/build/tests/trivial.c
@@ -1,3 +1,6 @@
+
+void exit(int);
+
main()
{
exit(0);