From 1ae731198a0556aa75b0c8e5c04a5c43b032392d Mon Sep 17 00:00:00 2001 From: Martin Schwenke Date: Fri, 16 Aug 2013 14:10:57 +1000 Subject: recoverd: Move struct ctdb_public_ip_list back into ctdb_takeover.c This is an internal structure. It was moved into ctdb_private.h a long time ago to allow unit testing. Unit test compilation was changed shortly afterwards to make this unnecessary. Signed-off-by: Martin Schwenke (This used to be ctdb commit db57261d7dc264e161659a8c547f44fbd9e88eeb) --- ctdb/include/ctdb_private.h | 6 ------ 1 file changed, 6 deletions(-) (limited to 'ctdb/include/ctdb_private.h') diff --git a/ctdb/include/ctdb_private.h b/ctdb/include/ctdb_private.h index 3c97363b87c..987502ef008 100644 --- a/ctdb/include/ctdb_private.h +++ b/ctdb/include/ctdb_private.h @@ -1534,12 +1534,6 @@ void ctdb_local_remove_from_delete_queue(struct ctdb_db_context *ctdb_db, struct ctdb_ltdb_header *ctdb_header_from_record_handle(struct ctdb_record_handle *h); -/* For unit testing ctdb_transaction.c. */ -struct ctdb_public_ip_list { - struct ctdb_public_ip_list *next; - uint32_t pnn; - ctdb_sock_addr addr; -}; int ctdb_trackingdb_add_pnn(struct ctdb_context *ctdb, TDB_DATA *data, uint32_t pnn); typedef void (*ctdb_trackingdb_cb)(struct ctdb_context *ctdb, uint32_t pnn, void *private_data); -- cgit