use alt signal stack when present for implementation-internal signals
[musl] / src / time / timegm.c
index b5dae8b..4e5907d 100644 (file)
@@ -2,8 +2,6 @@
 #include "time_impl.h"
 #include <errno.h>
 
-extern const char __gmt[];
-
 time_t timegm(struct tm *tm)
 {
        struct tm new;
@@ -15,6 +13,6 @@ time_t timegm(struct tm *tm)
        *tm = new;
        tm->tm_isdst = 0;
        tm->__tm_gmtoff = 0;
-       tm->__tm_zone = __gmt;
+       tm->__tm_zone = __utc;
        return t;
 }