]> diplodocus.org Git - nmh/blobdiff - sbr/dtimep.l
repl.c, replsbr.c: Move shared data into header file.
[nmh] / sbr / dtimep.l
index 09a579f9991afcd393e56b45913719c07bd74f28..fdae74ccb44bc18523aaf60348c27302213c82cd 100644 (file)
@@ -45,7 +45,7 @@
 
 #define yyterminate() (void)yy_delete_buffer(lexhandle); \
   if(!(tw.tw_flags & TW_SUCC)) { \
-    return (struct tws *)NULL; \
+    return NULL; \
   } \
   if(tw.tw_year < 1970) \
     tw.tw_year += 1900; \
@@ -156,10 +156,6 @@ static int day_map[] = {
                        --cp; }
 #define SKIPTOA()    { while ( !isalpha((unsigned char) *cp++) ) ; \
                        --cp; }
-#define SKIPSP()     { while ( isspace((unsigned char) *cp++) ) ; \
-                       --cp; }
-#define SKIPTOSP()   { while ( !isspace((unsigned char) *cp++) ) ; \
-                       --cp; }
 
 # ifdef HAVE_SYS_TIME_H
 #  include <sys/time.h>