X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=src%2Ftime%2Ftimegm.c;h=4e5907d7f56027f960c088014d935fb9c3682ca1;hb=9443f1b5cfeba687f45b96572378519e81ff9a56;hp=b5dae8b648eca781ca9e726f90d5b6cc85b72d1a;hpb=d78be392e144c338f58ce6a51d82c859126c137d;p=musl diff --git a/src/time/timegm.c b/src/time/timegm.c index b5dae8b6..4e5907d7 100644 --- a/src/time/timegm.c +++ b/src/time/timegm.c @@ -2,8 +2,6 @@ #include "time_impl.h" #include -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; }