diff options
| author | 2011-09-03 02:10:48 +0200 | |
|---|---|---|
| committer | 2012-03-18 20:40:54 +0100 | |
| commit | dcb85727c3649c254c985d840aa2efb36f727872 (patch) | |
| tree | 0f6f551b70bd845f57d5a044915e617a1bd40ac6 /tools/idevicesyslog.c | |
| parent | 6a83ef58a1032e3b336587e2f3a19659ae325c25 (diff) | |
| download | libimobiledevice-dcb85727c3649c254c985d840aa2efb36f727872.tar.gz libimobiledevice-dcb85727c3649c254c985d840aa2efb36f727872.tar.bz2 | |
Completely remove glib dependency.
Diffstat (limited to 'tools/idevicesyslog.c')
| -rw-r--r-- | tools/idevicesyslog.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/tools/idevicesyslog.c b/tools/idevicesyslog.c index 30e0c55..05e614f 100644 --- a/tools/idevicesyslog.c +++ b/tools/idevicesyslog.c | |||
| @@ -24,7 +24,6 @@ | |||
| 24 | #include <errno.h> | 24 | #include <errno.h> |
| 25 | #include <signal.h> | 25 | #include <signal.h> |
| 26 | #include <stdlib.h> | 26 | #include <stdlib.h> |
| 27 | #include <glib.h> | ||
| 28 | 27 | ||
| 29 | #include <libimobiledevice/libimobiledevice.h> | 28 | #include <libimobiledevice/libimobiledevice.h> |
| 30 | #include <libimobiledevice/lockdown.h> | 29 | #include <libimobiledevice/lockdown.h> |
| @@ -123,7 +122,7 @@ int main(int argc, char *argv[]) | |||
| 123 | break; | 122 | break; |
| 124 | } | 123 | } |
| 125 | 124 | ||
| 126 | datalen = GUINT32_FROM_BE(datalen); | 125 | datalen = be32toh(datalen); |
| 127 | 126 | ||
| 128 | if (datalen == 0) | 127 | if (datalen == 0) |
| 129 | continue; | 128 | continue; |
