X-Git-Url: http://git.marmaro.de/?p=mmh;a=blobdiff_plain;f=sbr%2Fdtime.c;h=47ae79e05368628c701876ddbdc4c095ff2a1f31;hp=738ffd59728f5d4696322f36d81f1225512d52eb;hb=e917512db8efcbf3b5b5baeb64b6d345fd3686db;hpb=2e5668919988fce4e523cbf2294698841b1106a0 diff --git a/sbr/dtime.c b/sbr/dtime.c index 738ffd5..47ae79e 100644 --- a/sbr/dtime.c +++ b/sbr/dtime.c @@ -6,10 +6,9 @@ ** complete copyright information. */ +#include #include /* for snprintf() */ -#include #include -#include #if !defined(HAVE_STRUCT_TM_TM_GMTOFF) extern long timezone; @@ -90,10 +89,7 @@ dlocaltime(time_t *clock) tw.tw_mday = tm->tm_mday; tw.tw_mon = tm->tm_mon; - /* - * tm_year is always "year - 1900". - * So we correct for this. - */ + /* tm_year is always "year - 1900". So we correct for this. */ tw.tw_year = tm->tm_year + 1900; tw.tw_wday = tm->tm_wday; tw.tw_yday = tm->tm_yday; @@ -145,10 +141,7 @@ dgmtime(time_t *clock) tw.tw_mday = tm->tm_mday; tw.tw_mon = tm->tm_mon; - /* - * tm_year is always "year - 1900" - * So we correct for this. - */ + /* tm_year is always "year - 1900". So we correct for this. */ tw.tw_year = tm->tm_year + 1900; tw.tw_wday = tm->tm_wday; tw.tw_yday = tm->tm_yday;