summaryrefslogtreecommitdiff
path: root/source3/tests
diff options
context:
space:
mode:
authorHerb Lewis <herb@samba.org>2005-05-02 17:49:43 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 10:56:46 -0500
commit1c4bbe06549d86614318718a45b9bc48e3bfc81f (patch)
tree121ab409dccc32c6d0f4ea7289d95843780225ce /source3/tests
parent714a426fe579ad481aa342a8d4cfd5331a12978f (diff)
downloadsamba-1c4bbe06549d86614318718a45b9bc48e3bfc81f.tar.gz
samba-1c4bbe06549d86614318718a45b9bc48e3bfc81f.tar.bz2
samba-1c4bbe06549d86614318718a45b9bc48e3bfc81f.zip
r6586: get rid of a few more compiler warnings
(This used to be commit 173375f8d88bf8e8db8d60e5d5f0e5dcc28767d9)
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;