Add %(unmailto) format function for List-Post headers
[mmh] / sbr / dtimep.lex
index 60a8d82..db2b193 100644 (file)
@@ -9,6 +9,7 @@
 %n2500
 %a5000
 %{
+#include <time.h>
 #include <ctype.h>
 #include <h/tws.h>
 
@@ -157,7 +158,7 @@ static int day_map[] = {
 static void
 zonehack (struct tws *tw)
 {
-       register struct tm *tm;
+       struct tm *tm;
 
        if (dmktime (tw) == (time_t) -1)
                return;
@@ -221,7 +222,7 @@ nl  [ \t\n()]
        */
        YY_BUFFER_STATE lexhandle;
 
-       register unsigned char *cp;
+       unsigned char *cp;
        static struct tws tw;
 
        memset(&tw,0,sizeof(struct tws));