X-Git-Url: http://nsz.repo.hu/git/?p=musl;a=blobdiff_plain;f=include%2Ftime.h;fp=include%2Ftime.h;h=50ee5001248ddfdd0f952d532e5ba6b1d08f877b;hp=ecdc66dff781d05d92b8429ec40ffd7355b0355e;hb=cf254c32ec47df4975d14e97233918e42ee70cea;hpb=23be72ae4534c13a7fd03f580934cc251ada619f diff --git a/include/time.h b/include/time.h index ecdc66df..50ee5001 100644 --- a/include/time.h +++ b/include/time.h @@ -100,7 +100,7 @@ int timer_getoverrun (timer_t); #endif -#if defined(_XOPEN_SOURCE) || defined(_GNU_SOURCE) +#if defined(_XOPEN_SOURCE) || defined(_GNU_SOURCE) || defined(_BSD_SOURCE) char *strptime (const char *, const char *, struct tm *); extern int daylight; extern long timezone; @@ -110,11 +110,8 @@ struct tm *getdate (const char *); #endif -#if defined(_XOPEN_SOURCE) || defined(_GNU_SOURCE) +#if defined(_GNU_SOURCE) || defined(_BSD_SOURCE) int stime(time_t *); -#endif - -#if defined(_GNU_SOURCE) time_t timegm(struct tm *); #endif