summaryrefslogtreecommitdiff
path: root/source4/lib/replace/test
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2007-01-15 19:27:45 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 14:43:35 -0500
commit0ce02a2c0eb322502bd931e83fa23ce476198e06 (patch)
tree97dc0548d5cf715e75d65ee56d8e59aca0e47d99 /source4/lib/replace/test
parent71f6a4d05bf46ca9456a3bc9f2d3263936b18ae2 (diff)
downloadsamba-0ce02a2c0eb322502bd931e83fa23ce476198e06.tar.gz
samba-0ce02a2c0eb322502bd931e83fa23ce476198e06.tar.bz2
samba-0ce02a2c0eb322502bd931e83fa23ce476198e06.zip
r20819: - include system/aio.h
- use full prototype for main - use ifdef instead if metze (This used to be commit b3a3c44f42455d6f84ab2f1f282fb177f8b6013c)
Diffstat (limited to 'source4/lib/replace/test')
-rw-r--r--source4/lib/replace/test/testsuite.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/source4/lib/replace/test/testsuite.c b/source4/lib/replace/test/testsuite.c
index 8a9fb9ab87..effbdb13ef 100644
--- a/source4/lib/replace/test/testsuite.c
+++ b/source4/lib/replace/test/testsuite.c
@@ -46,6 +46,7 @@
#include "system/terminal.h"
#include "system/time.h"
#include "system/wait.h"
+#include "system/aio.h"
#define TESTFILE "testfile.dat"
@@ -470,7 +471,7 @@ bool torture_local_replace(struct torture_context *ctx)
}
#if _SAMBA_BUILD_<4
-int main()
+int main(void)
{
bool ret = torture_local_replace(NULL);
if (ret)