From 930a620d80d376f44e2be992c8081b7fd094b642 Mon Sep 17 00:00:00 2001 From: Amitay Isaacs Date: Fri, 23 Oct 2015 15:14:53 +1100 Subject: [PATCH] ctdb-include: Group function prototypes from server/ctdb_logging_file.c Signed-off-by: Amitay Isaacs Reviewed-by: Martin Schwenke --- ctdb/include/ctdb_logging.h | 1 - ctdb/include/ctdb_private.h | 4 ++++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/ctdb/include/ctdb_logging.h b/ctdb/include/ctdb_logging.h index 2444547d0b4..e383f163d72 100644 --- a/ctdb/include/ctdb_logging.h +++ b/ctdb/include/ctdb_logging.h @@ -43,7 +43,6 @@ const char *get_debug_by_level(int32_t level); bool parse_debug(const char *str, int32_t *level); void print_debug_levels(FILE *stream); -void ctdb_log_init_file(void); void ctdb_log_init_syslog(void); #endif /* _CTDB_LOGGING_H_ */ diff --git a/ctdb/include/ctdb_private.h b/ctdb/include/ctdb_private.h index 7281acb1157..717316aeaa7 100644 --- a/ctdb/include/ctdb_private.h +++ b/ctdb/include/ctdb_private.h @@ -1426,4 +1426,8 @@ struct ctdb_log_state *ctdb_vfork_with_logging(TALLOC_CTX *mem_ctx, int ctdb_set_child_logging(struct ctdb_context *ctdb); int ctdb_init_tevent_logging(struct ctdb_context *ctdb); +/* from ctdb_logging_file.c */ + +void ctdb_log_init_file(void); + #endif