From 7c730973bba620ba50e02fb1330e99c2230d3d8b Mon Sep 17 00:00:00 2001 From: Andy Cedilnik Date: Fri, 24 Jun 2005 09:02:17 -0400 Subject: ENH: Initial import --- Utilities/cmcurl/getdate.h | 37 +++++++++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) create mode 100644 Utilities/cmcurl/getdate.h (limited to 'Utilities/cmcurl/getdate.h') diff --git a/Utilities/cmcurl/getdate.h b/Utilities/cmcurl/getdate.h new file mode 100644 index 0000000000..85650e3a07 --- /dev/null +++ b/Utilities/cmcurl/getdate.h @@ -0,0 +1,37 @@ +/* +** Originally written by Steven M. Bellovin while +** at the University of North Carolina at Chapel Hill. Later tweaked by +** a couple of people on Usenet. Completely overhauled by Rich $alz +** and Jim Berets in August, 1990. +** +** This code is in the public domain and has no copyright. +*/ + +# include "setup.h" + +#ifndef PARAMS +# if defined PROTOTYPES || (defined __STDC__ && __STDC__) +# define PARAMS(Args) Args +# else +# define PARAMS(Args) () +# endif +#endif + +#ifdef vms +# include +# include +#else +# include +# if TIME_WITH_SYS_TIME +# include +# include +# else +# if HAVE_SYS_TIME_H +# include +# else +# include +# endif +# endif +#endif /* defined (vms) */ + +time_t curl_getdate PARAMS ((const char *p, const time_t *now)); -- cgit v1.2.1