summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2010-10-30 16:01:00 +0200
committerJelmer Vernooij <jelmer@samba.org>2010-10-30 17:49:41 +0200
commitd1eba07e54d20ec9222f1ee448cc4223b9341c70 (patch)
tree7471dbdabe96fa26e4f027279f88cbeb91a8db76 /lib
parent58e99ae9169df39b383f711c91e0c0f76b954b33 (diff)
downloadsamba-d1eba07e54d20ec9222f1ee448cc4223b9341c70.tar.gz
samba-d1eba07e54d20ec9222f1ee448cc4223b9341c70.tar.bz2
samba-d1eba07e54d20ec9222f1ee448cc4223b9341c70.zip
replace: Avoid autoproto as it breaks standalone builds.
Automatic prototype generation uses ../../source4/script/mkproto.pl. Signed-off-by: Jelmer Vernooij <jelmer@samba.org>
Diffstat (limited to 'lib')
-rw-r--r--lib/replace/replace-test.h10
-rw-r--r--lib/replace/wscript1
2 files changed, 10 insertions, 1 deletions
diff --git a/lib/replace/replace-test.h b/lib/replace/replace-test.h
new file mode 100644
index 0000000000..95fb7abe1c
--- /dev/null
+++ b/lib/replace/replace-test.h
@@ -0,0 +1,10 @@
+#ifndef __LIB_REPLACE_REPLACE_TEST_H__
+#define __LIB_REPLACE_REPLACE_TEST_H__
+
+bool torture_local_replace(struct torture_context *ctx);
+int libreplace_test_strptime(void);
+int test_readdir_os2_delete(void);
+int getifaddrs_test(void);
+
+#endif /* __LIB_REPLACE_REPLACE_TEST_H__ */
+
diff --git a/lib/replace/wscript b/lib/replace/wscript
index 563e689d20..b2fe5bc2de 100644
--- a/lib/replace/wscript
+++ b/lib/replace/wscript
@@ -412,7 +412,6 @@ def build(bld):
bld.SAMBA_SUBSYSTEM('replace-test',
source='''test/testsuite.c test/strptime.c
test/os2_delete.c test/getifaddrs.c''',
- autoproto='replace-test.h',
deps='replace')
if bld.env.standalone_replace: