summaryrefslogtreecommitdiff
path: root/source3/tests
diff options
context:
space:
mode:
Diffstat (limited to 'source3/tests')
-rw-r--r--source3/tests/shlib.c2
-rw-r--r--source3/tests/sysquotas.c2
2 files changed, 4 insertions, 0 deletions
diff --git a/source3/tests/shlib.c b/source3/tests/shlib.c
index 761d9fd5c5..eddb76ff2a 100644
--- a/source3/tests/shlib.c
+++ b/source3/tests/shlib.c
@@ -1,5 +1,7 @@
/* a trivial function used to test building shared libraries */
+int foo(void);
+
int foo(void)
{
return 1;
diff --git a/source3/tests/sysquotas.c b/source3/tests/sysquotas.c
index 48a34feb13..bf16c8ba6e 100644
--- a/source3/tests/sysquotas.c
+++ b/source3/tests/sysquotas.c
@@ -28,6 +28,8 @@
#define SYS_DQBLK dqblk
#endif
+ int autoconf_quota(void);
+
int autoconf_quota(void)
{
int ret = -1;