diff options
| author | 2009-07-25 01:08:41 +0200 | |
|---|---|---|
| committer | 2009-07-25 01:08:41 +0200 | |
| commit | 028646335acca403cc8a601d77c2272e077445e0 (patch) | |
| tree | 2cfd5f8ef1f1168b44b2bc61b5a058700568612a /src | |
| parent | e2372b2f7f8f9017c9f90a7ed4d01997fb9ba464 (diff) | |
| download | libimobiledevice-028646335acca403cc8a601d77c2272e077445e0.tar.gz libimobiledevice-028646335acca403cc8a601d77c2272e077445e0.tar.bz2 | |
Fix includes of utils
Diffstat (limited to 'src')
| -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 |
