summaryrefslogtreecommitdiffstats
path: root/ctdb/include
diff options
context:
space:
mode:
authorMartin Schwenke <martin@meltin.net>2014-09-23 06:07:47 +1000
committerAmitay Isaacs <amitay@samba.org>2014-09-23 10:31:50 +0200
commit93423cb1f594244e916e4ac3cb1d32220c48c172 (patch)
tree4018a41e8fd1156a70f07eb2ddc390a7f84d5e7c /ctdb/include
parent371543207e8955d6665fcec03b261d80cde2401b (diff)
downloadsamba-93423cb1f594244e916e4ac3cb1d32220c48c172.tar.gz
samba-93423cb1f594244e916e4ac3cb1d32220c48c172.tar.xz
samba-93423cb1f594244e916e4ac3cb1d32220c48c172.zip
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 <martin@meltin.net> Reviewed-by: Amitay Isaacs <amitay@gmail.com> Autobuild-User(master): Amitay Isaacs <amitay@samba.org> Autobuild-Date(master): Tue Sep 23 10:31:50 CEST 2014 on sn-devel-104
Diffstat (limited to 'ctdb/include')
-rw-r--r--ctdb/include/ctdb_private.h1
1 files changed, 1 insertions, 0 deletions
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);