From de5758a936e31789f3d40abe5b471b03824f9aa3 Mon Sep 17 00:00:00 2001 From: Nikias Bassen Date: Mon, 30 Aug 2021 02:56:59 +0200 Subject: utils: Make MAC_EPOCH define public --- include/libimobiledevice-glue/utils.h | 2 ++ 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 #include +#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); -- cgit v1.1-32-gdbae