summaryrefslogtreecommitdiffstats
path: root/ctdb/tests/src/ctdb_test.c
diff options
context:
space:
mode:
authorRonnie Sahlberg <ronniesahlberg@gmail.com>2012-04-26 08:09:23 +1000
committerRonnie Sahlberg <ronniesahlberg@gmail.com>2012-04-26 08:09:23 +1000
commitdb411aaada39593c80f92e46be31d3473bf4639f (patch)
treef68222404db2155cc6d8d3f861ac486cb8a509ae /ctdb/tests/src/ctdb_test.c
parent58e10b280d4a94a812bad07bbca049cddb2c1174 (diff)
parent195cf3c87e3c6c9f1784aa483110a64bc8760703 (diff)
downloadsamba-db411aaada39593c80f92e46be31d3473bf4639f.tar.gz
samba-db411aaada39593c80f92e46be31d3473bf4639f.tar.xz
samba-db411aaada39593c80f92e46be31d3473bf4639f.zip
Merge remote branch 'amitay/tevent-sync'
(This used to be ctdb commit 17ff3f240b0d72c72ed28d70fb9aeb3b20c80670)
Diffstat (limited to 'ctdb/tests/src/ctdb_test.c')
-rw-r--r--ctdb/tests/src/ctdb_test.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/ctdb/tests/src/ctdb_test.c b/ctdb/tests/src/ctdb_test.c
index 0514f437cd..d692248535 100644
--- a/ctdb/tests/src/ctdb_test.c
+++ b/ctdb/tests/src/ctdb_test.c
@@ -26,12 +26,7 @@
#define _GNU_SOURCE
#include <stdio.h>
#include <sys/socket.h>
-#include "lib/tevent/tevent.h"
-#define tevent_context_init(x) tevent_context_init_foobar(x)
-struct tevent_context *tevent_context_init_foobar(TALLOC_CTX *mem_ctx);
-#define tevent_loop_allow_nesting(x) tevent_loop_allow_nesting_foobar(x)
-void tevent_loop_allow_nesting_foobar(struct tevent_context *ev);
#define ctdb_cmdline_client(x, y) ctdb_cmdline_client_foobar(x, y)
#define ctdb_get_socketname(x) ctdb_get_socketname_foobar(x)
@@ -46,8 +41,6 @@ void tevent_loop_allow_nesting_foobar(struct tevent_context *ev);
#include "tools/ctdb.c"
#ifdef CTDB_TEST_USE_MAIN
-#undef tevent_context_init
-#undef tevent_loop_allow_nesting
#undef ctdb_cmdline_client
#undef ctdb_get_socketname
#else