X-Git-Url: https://diplodocus.org/git/nmh/blobdiff_plain/35ef9d158396dbf013a862dd8f830db64909826b..c576ad2674c37a1c63f004c71049998f38854c64:/sbr/dtimep.l diff --git a/sbr/dtimep.l b/sbr/dtimep.l index 238af863..bd36c64a 100644 --- a/sbr/dtimep.l +++ b/sbr/dtimep.l @@ -11,6 +11,7 @@ %a5000 %{ #include +#include #include #include @@ -44,13 +45,13 @@ #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; \ if(tw.tw_year < 1970) \ tw.tw_year += 100; \ - return(&tw) + return &tw /* * Table to convert month names to numeric month. We use the