summaryrefslogtreecommitdiff
path: root/source4/build/tests
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2004-08-19 07:59:08 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 12:58:10 -0500
commit8dfd1daf30bcbf9bceeaaf3b5eddf24b9e513a6f (patch)
tree712cf903b71e8a2037da46e0252c3eb48923c734 /source4/build/tests
parent75e967bd0e93a22375cd3bccee17204f2ea27bc2 (diff)
downloadsamba-8dfd1daf30bcbf9bceeaaf3b5eddf24b9e513a6f.tar.gz
samba-8dfd1daf30bcbf9bceeaaf3b5eddf24b9e513a6f.tar.bz2
samba-8dfd1daf30bcbf9bceeaaf3b5eddf24b9e513a6f.zip
r1905: add -Werror-implicit-function-declaration with --enable-developer
metze (This used to be commit 11495a42b97b62b1f54cfb98909e937d370fdd4a)
Diffstat (limited to 'source4/build/tests')
-rw-r--r--source4/build/tests/summary.c2
-rw-r--r--source4/build/tests/trivial.c3
2 files changed, 5 insertions, 0 deletions
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);