From 0c4e68d5afb47b2e378cf782f289c328c05a11d3 Mon Sep 17 00:00:00 2001 From: Christian Pointner Date: Wed, 25 May 2016 22:54:21 +0200 Subject: major cleanup and refactoring --- src/log.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/log.h') diff --git a/src/log.h b/src/log.h index 6c5b3f6..350014d 100644 --- a/src/log.h +++ b/src/log.h @@ -69,7 +69,7 @@ void log_targets_clear(log_targets_t* targets); struct log_struct { log_prio_t max_prio_; log_targets_t targets_; - GMutex* log_mutex_; + GMutex log_mutex_; }; typedef struct log_struct log_t; @@ -78,6 +78,6 @@ void log_close(); void update_max_prio(); int log_add_target(const char* conf); void log_printf(log_prio_t prio, const char* fmt, ...); -void log_print_hex_dump(log_prio_t prio, const uint8_t* buf, uint32_t len); +void log_print_hex_dump(log_prio_t prio, const u_int8_t* buf, u_int32_t len); #endif -- cgit v1.2.3