From 93423cb1f594244e916e4ac3cb1d32220c48c172 Mon Sep 17 00:00:00 2001 From: Martin Schwenke Date: Tue, 23 Sep 2014 06:07:47 +1000 Subject: ctdb-logging: Add forward declaration of debug_level Warnings are currently produced when compiling Samba and ctdb_private.h is included. A forward enum declaration avoids the warning. This is a temporary measure. The log ringbuffer should be removed soon. Signed-off-by: Martin Schwenke Reviewed-by: Amitay Isaacs Autobuild-User(master): Amitay Isaacs Autobuild-Date(master): Tue Sep 23 10:31:50 CEST 2014 on sn-devel-104 --- ctdb/include/ctdb_private.h | 1 + 1 file changed, 1 insertion(+) (limited to 'ctdb/include') diff --git a/ctdb/include/ctdb_private.h b/ctdb/include/ctdb_private.h index 43daf360b1..02602e1946 100644 --- a/ctdb/include/ctdb_private.h +++ b/ctdb/include/ctdb_private.h @@ -1461,6 +1461,7 @@ struct ctdb_get_log_addr { extern int log_ringbuf_size; +enum debug_level; TDB_DATA ctdb_log_ringbuffer_collect_log(TALLOC_CTX *mem_ctx, enum debug_level max_level); void ctdb_collect_log(struct ctdb_context *ctdb, struct ctdb_get_log_addr *log_addr); -- cgit