]> git.marmaro.de Git - mmh/blobdiff - sbr/dtimep.lex
Drop register storage class
[mmh] / sbr / dtimep.lex
index 83edbffe7d3ba82795c7c2eb8537a351eeec64ac..db2b19397e26b589a37cfe98c45101c522cfd5ee 100644 (file)
@@ -9,7 +9,8 @@
 %n2500
 %a5000
 %{
-#include <h/nmh.h>
+#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));