summaryrefslogtreecommitdiff
path: root/source3/lib
diff options
context:
space:
mode:
authorHerb Lewis <herb@samba.org>2006-12-19 20:16:52 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 12:16:37 -0500
commit55ed1d59455566d90a03e7123fbf7a05a4bd4539 (patch)
tree050bfb7a9e5ff6b9df388dd25e009defff81fe36 /source3/lib
parent920e1a368504228ab3a11aa58cbf12c7c95f4fd0 (diff)
downloadsamba-55ed1d59455566d90a03e7123fbf7a05a4bd4539.tar.gz
samba-55ed1d59455566d90a03e7123fbf7a05a4bd4539.tar.bz2
samba-55ed1d59455566d90a03e7123fbf7a05a4bd4539.zip
r20261: merge 20260 from samba_3_0_24
clean up a bunch of no previous prototype warnings (This used to be commit c60687db112405262adf26dbf267804b04074e67)
Diffstat (limited to 'source3/lib')
-rw-r--r--source3/lib/replace/test/os2_delete.c1
-rw-r--r--source3/lib/replace/test/testsuite.c2
2 files changed, 2 insertions, 1 deletions
diff --git a/source3/lib/replace/test/os2_delete.c b/source3/lib/replace/test/os2_delete.c
index 8501e0bb40..b2bce7e7ff 100644
--- a/source3/lib/replace/test/os2_delete.c
+++ b/source3/lib/replace/test/os2_delete.c
@@ -20,6 +20,7 @@
#define TESTDIR "test.dir"
static int test_readdir_os2_delete_ret;
+int test_readdir_os2_delete(void);
#define FAILED(d) (fprintf(stderr, "Failed for %s - %d = %s\n", d, errno, strerror(errno)), test_readdir_os2_delete_ret = 1, 1)
diff --git a/source3/lib/replace/test/testsuite.c b/source3/lib/replace/test/testsuite.c
index d45304103f..c10a220d7b 100644
--- a/source3/lib/replace/test/testsuite.c
+++ b/source3/lib/replace/test/testsuite.c
@@ -373,7 +373,7 @@ static int test_MAX(void)
struct torture_context;
-bool torture_local_replace(struct torture_context *torture)
+static bool torture_local_replace(struct torture_context *torture)
{
bool ret = true;
ret &= test_ftruncate();