summaryrefslogtreecommitdiff
path: root/source3/lib/ctdbd_conn.c
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2015-03-12 14:40:16 +0000
committerMichael Adam <obnox@samba.org>2015-03-17 11:30:52 +0100
commitde811f14af2083febdea5a1310f78407115168f6 (patch)
tree833a9340df711f33520b19fad5d38a8db832d4b6 /source3/lib/ctdbd_conn.c
parentcf368cbdc5f1b6ee1f831e3a90d8d77ef8d317ed (diff)
downloadsamba-de811f14af2083febdea5a1310f78407115168f6.tar.gz
lib: Remove tdb_compat
Signed-off-by: Volker Lendecke <vl@samba.org> Reviewed-by: Michael Adam <obnox@samba.org>
Diffstat (limited to 'source3/lib/ctdbd_conn.c')
-rw-r--r--source3/lib/ctdbd_conn.c18
1 files changed, 0 insertions, 18 deletions
diff --git a/source3/lib/ctdbd_conn.c b/source3/lib/ctdbd_conn.c
index 18b877c2353..85717dd0dcc 100644
--- a/source3/lib/ctdbd_conn.c
+++ b/source3/lib/ctdbd_conn.c
@@ -27,24 +27,6 @@
#include "messages.h"
-/*
- * It is not possible to include ctdb.h and tdb_compat.h (included via
- * some other include above) without warnings. This fixes those
- * warnings.
- */
-
-#ifdef typesafe_cb
-#undef typesafe_cb
-#endif
-
-#ifdef typesafe_cb_preargs
-#undef typesafe_cb_preargs
-#endif
-
-#ifdef typesafe_cb_postargs
-#undef typesafe_cb_postargs
-#endif
-
/* paths to these include files come from --with-ctdb= in configure */
#include "ctdb.h"