diff options
author | Nikias Bassen | 2021-08-30 02:56:59 +0200 |
---|---|---|
committer | Nikias Bassen | 2021-08-30 02:56:59 +0200 |
commit | de5758a936e31789f3d40abe5b471b03824f9aa3 (patch) | |
tree | 7dd02bd40825668beb6ef697381f7ecc081c6380 | |
parent | 52dd35f2d264561a4226b117bf37cd661e78649c (diff) | |
download | libimobiledevice-glue-de5758a936e31789f3d40abe5b471b03824f9aa3.tar.gz libimobiledevice-glue-de5758a936e31789f3d40abe5b471b03824f9aa3.tar.bz2 |
utils: Make MAC_EPOCH define public
-rw-r--r-- | include/libimobiledevice-glue/utils.h | 2 | ||||
-rw-r--r-- | src/utils.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/include/libimobiledevice-glue/utils.h b/include/libimobiledevice-glue/utils.h index 515339a..0899389 100644 --- a/include/libimobiledevice-glue/utils.h +++ b/include/libimobiledevice-glue/utils.h @@ -36,6 +36,8 @@ #include <stdio.h> #include <plist/plist.h> +#define MAC_EPOCH 978307200 + char *string_concat(const char *str, ...); char *string_append(char *str, ...); char *string_build_path(const char *elem, ...); diff --git a/src/utils.c b/src/utils.c index c25ebe1..b03f13b 100644 --- a/src/utils.c +++ b/src/utils.c @@ -38,8 +38,6 @@ #include "common.h" #include "libimobiledevice-glue/utils.h" -#define MAC_EPOCH 978307200 - #ifndef HAVE_STPCPY #undef stpcpy char *stpcpy(char *s1, const char *s2); |