From 494ff699d6754661e86a96707940d27c652816ca Mon Sep 17 00:00:00 2001 From: Nikias Bassen Date: Fri, 27 Sep 2013 12:02:20 +0200 Subject: common/debug: remove inline from debug functions to make clang happy --- common/debug.c | 8 ++++---- common/debug.h | 8 ++++---- 2 files changed, 8 insertions(+), 8 deletions(-) (limited to 'common') diff --git a/common/debug.c b/common/debug.c index ad726d1..2cc9db1 100644 --- a/common/debug.c +++ b/common/debug.c @@ -81,7 +81,7 @@ static void debug_print_line(const char *func, const char *file, int line, const } #endif -inline void debug_info_real(const char *func, const char *file, int line, const char *format, ...) +void debug_info_real(const char *func, const char *file, int line, const char *format, ...) { #ifndef STRIP_DEBUG_CODE va_list args; @@ -101,7 +101,7 @@ inline void debug_info_real(const char *func, const char *file, int line, const #endif } -inline void debug_buffer(const char *data, const int length) +void debug_buffer(const char *data, const int length) { #ifndef STRIP_DEBUG_CODE int i; @@ -136,7 +136,7 @@ inline void debug_buffer(const char *data, const int length) #endif } -inline void debug_buffer_to_file(const char *file, const char *data, const int length) +void debug_buffer_to_file(const char *file, const char *data, const int length) { #ifndef STRIP_DEBUG_CODE if (debug_level) { @@ -148,7 +148,7 @@ inline void debug_buffer_to_file(const char *file, const char *data, const int l #endif } -inline void debug_plist_real(const char *func, const char *file, int line, plist_t plist) +void debug_plist_real(const char *func, const char *file, int line, plist_t plist) { #ifndef STRIP_DEBUG_CODE if (!plist) diff --git a/common/debug.h b/common/debug.h index b7cff80..3a66ee4 100644 --- a/common/debug.h +++ b/common/debug.h @@ -44,14 +44,14 @@ #define debug_plist(a) #endif -LIBIMOBILEDEVICE_INTERNAL inline void debug_info_real(const char *func, +LIBIMOBILEDEVICE_INTERNAL void debug_info_real(const char *func, const char *file, int line, const char *format, ...); -LIBIMOBILEDEVICE_INTERNAL inline void debug_buffer(const char *data, const int length); -LIBIMOBILEDEVICE_INTERNAL inline void debug_buffer_to_file(const char *file, const char *data, const int length); -LIBIMOBILEDEVICE_INTERNAL inline void debug_plist_real(const char *func, +LIBIMOBILEDEVICE_INTERNAL void debug_buffer(const char *data, const int length); +LIBIMOBILEDEVICE_INTERNAL void debug_buffer_to_file(const char *file, const char *data, const int length); +LIBIMOBILEDEVICE_INTERNAL void debug_plist_real(const char *func, const char *file, int line, plist_t plist); -- cgit v1.1-32-gdbae