diff options
| -rw-r--r-- | src/utils.c | 3 | ||||
| -rw-r--r-- | src/utils.h | 5 |
2 files changed, 4 insertions, 4 deletions
diff --git a/src/utils.c b/src/utils.c index 6535a07..3c08351 100644 --- a/src/utils.c +++ b/src/utils.c | |||
| @@ -20,7 +20,10 @@ | |||
| 20 | */ | 20 | */ |
| 21 | #include <stdarg.h> | 21 | #include <stdarg.h> |
| 22 | #include <stdio.h> | 22 | #include <stdio.h> |
| 23 | #include <stdint.h> | ||
| 24 | |||
| 23 | #include "utils.h" | 25 | #include "utils.h" |
| 26 | #include "libiphone/libiphone.h" | ||
| 24 | 27 | ||
| 25 | int toto_debug = 0; | 28 | int toto_debug = 0; |
| 26 | uint16_t dbg_mask = 0; | 29 | uint16_t dbg_mask = 0; |
diff --git a/src/utils.h b/src/utils.h index 1750b8e..430e812 100644 --- a/src/utils.h +++ b/src/utils.h | |||
| @@ -22,13 +22,10 @@ | |||
| 22 | #ifndef UTILS_H | 22 | #ifndef UTILS_H |
| 23 | #define UTILS_H | 23 | #define UTILS_H |
| 24 | 24 | ||
| 25 | #include "libiphone/libiphone.h" | ||
| 26 | |||
| 27 | |||
| 28 | |||
| 29 | inline void log_debug_msg(const char *format, ...); | 25 | inline void log_debug_msg(const char *format, ...); |
| 30 | inline void log_dbg_msg(uint16_t id, const char *format, ...); | 26 | inline void log_dbg_msg(uint16_t id, const char *format, ...); |
| 31 | 27 | ||
| 32 | inline void log_debug_buffer(const char *data, const int length); | 28 | inline void log_debug_buffer(const char *data, const int length); |
| 33 | inline void dump_debug_buffer(const char *file, const char *data, const int length); | 29 | inline void dump_debug_buffer(const char *file, const char *data, const int length); |
| 30 | |||
| 34 | #endif | 31 | #endif |
