Unverified Commit 499dee16 authored by Ozan Tezcan's avatar Ozan Tezcan Committed by GitHub
Browse files

Delete stale HAVE_FUNC_LOG guard (#115)

Delete stale HAVE_FUNC_LOG guard

Log callback is already optional. Pre-processor guard is unnecessary.
parent 93d98df1
...@@ -448,8 +448,6 @@ typedef int ( ...@@ -448,8 +448,6 @@ typedef int (
raft_node_t* node raft_node_t* node
); );
#ifndef HAVE_FUNC_LOG
#define HAVE_FUNC_LOG
/** Callback for providing debug logging information. /** Callback for providing debug logging information.
* This callback is optional * This callback is optional
* @param[in] raft The Raft server making this callback * @param[in] raft The Raft server making this callback
...@@ -465,7 +463,6 @@ typedef void ( ...@@ -465,7 +463,6 @@ typedef void (
void *user_data, void *user_data,
const char *buf const char *buf
); );
#endif
/** Callback for saving who we voted for to disk. /** Callback for saving who we voted for to disk.
* For safety reasons this callback MUST flush the change to disk. * For safety reasons this callback MUST flush the change to disk.
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment