]> diplodocus.org Git - nmh/blobdiff - h/tws.h
Added many flags to CFLAGS with gcc, if supported.
[nmh] / h / tws.h
diff --git a/h/tws.h b/h/tws.h
index 9acda6a6a23c02a2a5bd5bed928477aee0b670d0..495343f8d86bd2383b614fc29dce4b410cd2d9cd 100644 (file)
--- a/h/tws.h
+++ b/h/tws.h
@@ -5,7 +5,7 @@
    be treated specially if it's in a zone that observes Daylight Saving Time.
    For instance, during DST, a Date: like "Mon, 24 Jul 2000 12:31:44 -0700" will
    be printed as "Mon, 24 Jul 2000 12:31:44 PDT".  Without the code activated by
-   the following #define, that'd be incorrectly printed as "...MST". */
+   the following #define, that would be incorrectly printed as "...MST". */
 
 struct tws {
     int tw_sec;                /* seconds after the minute - [0, 61] */
@@ -13,7 +13,7 @@ struct tws {
     int tw_hour;       /* hour since midnight - [0, 23]      */
     int tw_mday;       /* day of the month - [1, 31]         */
     int tw_mon;                /* months since January - [0, 11]     */
-    int tw_year;       /* 4 digit year (ie, 1997)            */
+    int tw_year;       /* 4 digit year (e.g. 1997)           */
     int tw_wday;       /* days since Sunday - [0, 6]         */
     int tw_yday;       /* days since January 1 - [0, 365]    */
     int tw_zone;
@@ -36,23 +36,7 @@ struct tws {
 
 #define        dtwszone(tw) dtimezone (tw->tw_zone, tw->tw_flags)
 
-extern char *tw_dotw[];
-extern char *tw_ldotw[];
-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);
-int twsort (struct tws *, struct tws *);
-time_t dmktime (struct tws *);
-void set_dotw (struct tws *);
-
 struct tws *dparsetime (char *);