diff options
Diffstat (limited to 'common')
| -rw-r--r-- | common/debug.c | 8 | ||||
| -rw-r--r-- | common/debug.h | 8 |
2 files changed, 8 insertions, 8 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 | ||
| 84 | inline void debug_info_real(const char *func, const char *file, int line, const char *format, ...) | 84 | void 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 | ||
| 104 | inline void debug_buffer(const char *data, const int length) | 104 | void 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 | ||
| 139 | inline void debug_buffer_to_file(const char *file, const char *data, const int length) | 139 | void 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 | ||
| 151 | inline void debug_plist_real(const char *func, const char *file, int line, plist_t plist) | 151 | void 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) |
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 @@ | |||
| 44 | #define debug_plist(a) | 44 | #define debug_plist(a) |
| 45 | #endif | 45 | #endif |
| 46 | 46 | ||
| 47 | LIBIMOBILEDEVICE_INTERNAL inline void debug_info_real(const char *func, | 47 | LIBIMOBILEDEVICE_INTERNAL void debug_info_real(const char *func, |
| 48 | const char *file, | 48 | const char *file, |
| 49 | int line, | 49 | int line, |
| 50 | const char *format, ...); | 50 | const char *format, ...); |
| 51 | 51 | ||
| 52 | LIBIMOBILEDEVICE_INTERNAL inline void debug_buffer(const char *data, const int length); | 52 | LIBIMOBILEDEVICE_INTERNAL void debug_buffer(const char *data, const int length); |
| 53 | LIBIMOBILEDEVICE_INTERNAL inline void debug_buffer_to_file(const char *file, const char *data, const int length); | 53 | LIBIMOBILEDEVICE_INTERNAL void debug_buffer_to_file(const char *file, const char *data, const int length); |
| 54 | LIBIMOBILEDEVICE_INTERNAL inline void debug_plist_real(const char *func, | 54 | LIBIMOBILEDEVICE_INTERNAL void debug_plist_real(const char *func, |
| 55 | const char *file, | 55 | const char *file, |
| 56 | int line, | 56 | int line, |
| 57 | plist_t plist); | 57 | plist_t plist); |
