summaryrefslogtreecommitdiffstats
path: root/common/debug.c
diff options
context:
space:
mode:
authorGravatar Nikias Bassen2013-09-27 12:02:20 +0200
committerGravatar Nikias Bassen2013-09-27 12:02:20 +0200
commit494ff699d6754661e86a96707940d27c652816ca (patch)
treeff777d7097a674f3d930e2d87d894190b4c63e9c /common/debug.c
parentae6550a4375d6871e63a06823edf4e0324210b2a (diff)
downloadlibimobiledevice-494ff699d6754661e86a96707940d27c652816ca.tar.gz
libimobiledevice-494ff699d6754661e86a96707940d27c652816ca.tar.bz2
common/debug: remove inline from debug functions to make clang happy
Diffstat (limited to 'common/debug.c')
-rw-r--r--common/debug.c8
1 files changed, 4 insertions, 4 deletions
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
81} 81}
82#endif 82#endif
83 83
84inline void debug_info_real(const char *func, const char *file, int line, const char *format, ...) 84void debug_info_real(const char *func, const char *file, int line, const char *format, ...)
85{ 85{
86#ifndef STRIP_DEBUG_CODE 86#ifndef STRIP_DEBUG_CODE
87 va_list args; 87 va_list args;
@@ -101,7 +101,7 @@ inline void debug_info_real(const char *func, const char *file, int line, const
101#endif 101#endif
102} 102}
103 103
104inline void debug_buffer(const char *data, const int length) 104void debug_buffer(const char *data, const int length)
105{ 105{
106#ifndef STRIP_DEBUG_CODE 106#ifndef STRIP_DEBUG_CODE
107 int i; 107 int i;
@@ -136,7 +136,7 @@ inline void debug_buffer(const char *data, const int length)
136#endif 136#endif
137} 137}
138 138
139inline void debug_buffer_to_file(const char *file, const char *data, const int length) 139void debug_buffer_to_file(const char *file, const char *data, const int length)
140{ 140{
141#ifndef STRIP_DEBUG_CODE 141#ifndef STRIP_DEBUG_CODE
142 if (debug_level) { 142 if (debug_level) {
@@ -148,7 +148,7 @@ inline void debug_buffer_to_file(const char *file, const char *data, const int l
148#endif 148#endif
149} 149}
150 150
151inline void debug_plist_real(const char *func, const char *file, int line, plist_t plist) 151void debug_plist_real(const char *func, const char *file, int line, plist_t plist)
152{ 152{
153#ifndef STRIP_DEBUG_CODE 153#ifndef STRIP_DEBUG_CODE
154 if (!plist) 154 if (!plist)