summaryrefslogtreecommitdiffstats
path: root/ctdb/lib/util/debug.h
diff options
context:
space:
mode:
Diffstat (limited to 'ctdb/lib/util/debug.h')
-rw-r--r--ctdb/lib/util/debug.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/ctdb/lib/util/debug.h b/ctdb/lib/util/debug.h
index 27490a3dbf..d5a215aff3 100644
--- a/ctdb/lib/util/debug.h
+++ b/ctdb/lib/util/debug.h
@@ -17,6 +17,9 @@
along with this program; if not, see <http://www.gnu.org/licenses/>.
*/
+#ifndef UTIL_DEBUG_H
+#define UTIL_DEBUG_H
+
void (*do_debug_v)(const char *, va_list ap);
const char *debug_extra;
void (*do_debug_add_v)(const char *, va_list ap);
@@ -25,3 +28,4 @@ void do_debug(const char *format, ...) PRINTF_ATTRIBUTE(1, 2);
void do_debug_add(const char *format, ...) PRINTF_ATTRIBUTE(1, 2);
void dump_data(int level, const uint8_t *buf1, size_t len);
+#endif /* UTIL_DEBUG_H */