X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=lib%2Fgetdate.y;h=4d2af5c5e674762c456897f6bb96ace4a9ab10a1;hb=6b89992dbb9ec71f4505b47447bde264e3035056;hp=05387d056b7e30b323bc49dbca59c94176f69bfb;hpb=5bcef80b36bdfe4d61f2036be73eb882c982e46d;p=gnulib.git diff --git a/lib/getdate.y b/lib/getdate.y index 05387d056..4d2af5c5e 100644 --- a/lib/getdate.y +++ b/lib/getdate.y @@ -1,5 +1,5 @@ %{ -/* $Revision: 2.1 $ +/* $Revision: 1.2 $ ** ** Originally written by Steven M. Bellovin while ** at the University of North Carolina at Chapel Hill. Later tweaked by @@ -49,7 +49,11 @@ char *alloca (); #include -#if !(defined (USG) || !defined (sgi) || !defined (__386BSD__)) || defined(BSD4_2) || defined(BSD4_1C) || (defined (hp9000) && !defined (hpux)) || defined(_AIX) +#if sgi +#undef timezone +#endif + +#if !(defined (USG) || defined (sgi) || defined (__386BSD__)) || defined(BSD4_2) || defined(BSD4_1C) || (defined (hp9000) && !defined (hpux)) || defined(_AIX) #include #else #include @@ -79,22 +83,18 @@ struct timeb { #include #endif -#if sgi -#undef timezone -#endif - extern struct tm *localtime(); -static int yylex (); -static int yyerror (); - #define yyparse getdate_yyparse #define yylex getdate_yylex #define yyerror getdate_yyerror +static int yylex (); +static int yyerror (); + #if !defined(lint) && !defined(SABER) static char RCS[] = - "$Header: str2date.y,v 2.1 90/09/06 08:15:06 cronan Exp $"; + "$Header: /w/src/cvsroot/fileutils/lib/getdate.y,v 1.2 1993/04/04 15:21:49 meyering Exp $"; #endif /* !defined(lint) && !defined(SABER) */