X-Git-Url: https://diplodocus.org/git/nmh/blobdiff_plain/96a2a03a1473522669e8848959c3aa380cf3d4eb..4fb142af4ad2ca73d141cc04af24e7c1b62f8a77:/sbr/dtimep.l?ds=sidebyside diff --git a/sbr/dtimep.l b/sbr/dtimep.l index 09a579f9..fdae74cc 100644 --- a/sbr/dtimep.l +++ b/sbr/dtimep.l @@ -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