X-Git-Url: http://git.marmaro.de/?p=mmh;a=blobdiff_plain;f=h%2Ftws.h;h=420275cea3957231c6c34fc067bb8e5865c89970;hp=77ccaa6ea392e0cedc6190335ed4848696d4e138;hb=d4bcca1aa235370bc20bc2734c0cd6f700b17871;hpb=ced6090a330d3d83d0bce709f756aa3d7d65fea4 diff --git a/h/tws.h b/h/tws.h index 77ccaa6..420275c 100644 --- a/h/tws.h +++ b/h/tws.h @@ -38,13 +38,12 @@ struct tws { #define TW_SZEXP 0x0004 /* explicitly given */ #define TW_DST 0x0010 /* daylight savings time */ -#define TW_ZONE 0x0020 /* use numeric timezones only */ #define TW_SUCC 0x0040 /* whether parsing was successful */ #define TW_YES 0x0040 /* yes, found */ #define TW_NO 0x0000 /* no, not found */ -#define dtwszone(tw) dtimezone (tw->tw_zone, tw->tw_flags) +#define dtwszone(tw) dtimezone(tw->tw_zone, tw->tw_flags) extern char *tw_dotw[]; extern char *tw_ldotw[]; @@ -53,17 +52,17 @@ extern char *tw_moty[]; /* ** prototypes */ -char *dtime (time_t *, int); -char *dtimenow (int); -char *dctime (struct tws *); -struct tws *dlocaltimenow (void); -struct tws *dlocaltime (time_t *); -struct tws *dgmtime (time_t *); -char *dasctime (struct tws *, int); -char *dtimezone (int, int); -void twscopy (struct tws *, struct tws *); -int twsort (struct tws *, struct tws *); -time_t dmktime (struct tws *); -void set_dotw (struct tws *); +char *dtime(time_t *); +char *dtimenow(void); +char *dctime(struct tws *); +struct tws *dlocaltimenow(void); +struct tws *dlocaltime(time_t *); +struct tws *dgmtime(time_t *); +char *dasctime(struct tws *); +char *dtimezone(int, int); +void twscopy(struct tws *, struct tws *); +int twsort(struct tws *, struct tws *); +time_t dmktime(struct tws *); +void set_dotw(struct tws *); -struct tws *dparsetime (char *); +struct tws *dparsetime(char *);