From: Cristy Date: Tue, 16 Apr 2019 22:15:42 +0000 (-0400) Subject: Export GetMagickTimer() X-Git-Tag: 7.0.8-41~11 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=b54c9a6347fc8285632e371298603e5b2beb5774;p=imagemagick Export GetMagickTimer() --- diff --git a/MagickCore/timer-private.h b/MagickCore/timer-private.h index a58d3cf43..56b0fe88d 100644 --- a/MagickCore/timer-private.h +++ b/MagickCore/timer-private.h @@ -54,7 +54,7 @@ static inline void GetLocalTime(const time_t *timep,struct tm *result) #endif } -extern MagickPrivate time_t +extern MagickExport time_t GetMagickTime(void); #if defined(__cplusplus) || defined(c_plusplus) diff --git a/MagickCore/timer.c b/MagickCore/timer.c index 57f69b04e..fe5ca2729 100644 --- a/MagickCore/timer.c +++ b/MagickCore/timer.c @@ -323,7 +323,7 @@ MagickExport double GetElapsedTime(TimerInfo *time_info) % time_t GetElapsedTime(void) % */ -MagickPrivate time_t GetMagickTime(void) +MagickExport time_t GetMagickTime(void) { char *source_date_epoch = getenv("SOURCE_DATE_EPOCH");