summaryrefslogtreecommitdiff
path: root/lib/replace/replace-test.h
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2012-09-23 13:39:01 +1000
committerAndrew Bartlett <abartlet@samba.org>2012-09-23 14:31:01 +1000
commit502135df9f0d839e75907260f5dcdab4052d995e (patch)
tree8a8de1389044455696e6036dc15601ea7adb19e0 /lib/replace/replace-test.h
parent08d3062fc3ece6b5d98e32bad5f1d54c088b0dd0 (diff)
downloadsamba-502135df9f0d839e75907260f5dcdab4052d995e.tar.gz
samba-502135df9f0d839e75907260f5dcdab4052d995e.tar.bz2
samba-502135df9f0d839e75907260f5dcdab4052d995e.zip
lib/replace: Try to fix build on HP-UX for os2_delete test
The issue is that this file is both used in an autoconf test, and later in a smbtorture test. Because os2_delete.c does not include replace.h, bool may not be defined. So, instead we shift the need for bool to a different header. (The readdir tests in repdir.m4 are not yet in the waf configure). Andrew Bartlett
Diffstat (limited to 'lib/replace/replace-test.h')
-rw-r--r--lib/replace/replace-test.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/lib/replace/replace-test.h b/lib/replace/replace-test.h
index a522853351..ed8e75e3b1 100644
--- a/lib/replace/replace-test.h
+++ b/lib/replace/replace-test.h
@@ -1,10 +1,6 @@
#ifndef __LIB_REPLACE_REPLACE_TEST_H__
#define __LIB_REPLACE_REPLACE_TEST_H__
-#include <stdbool.h>
-struct torture_context;
-
-bool torture_local_replace(struct torture_context *ctx);
int libreplace_test_strptime(void);
int test_readdir_os2_delete(void);
int getifaddrs_test(void);