summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Nikias Bassen2021-08-30 02:56:59 +0200
committerGravatar Nikias Bassen2021-08-30 02:56:59 +0200
commitde5758a936e31789f3d40abe5b471b03824f9aa3 (patch)
tree7dd02bd40825668beb6ef697381f7ecc081c6380
parent52dd35f2d264561a4226b117bf37cd661e78649c (diff)
downloadlibimobiledevice-glue-de5758a936e31789f3d40abe5b471b03824f9aa3.tar.gz
libimobiledevice-glue-de5758a936e31789f3d40abe5b471b03824f9aa3.tar.bz2
utils: Make MAC_EPOCH define public
-rw-r--r--include/libimobiledevice-glue/utils.h2
-rw-r--r--src/utils.c2
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);