~ubuntu-branches/ubuntu/jaunty/cmake/jaunty-security

« back to all changes in this revision

Viewing changes to Source/CTest/Curl/getdate.h

  • Committer: Bazaar Package Importer
  • Author(s): A. Maitland Bottoms
  • Date: 2005-03-02 09:22:44 UTC
  • mfrom: (1.1.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20050302092244-y6o9j8wr27vqcqvx
Tags: 2.0.5-1
New upstream release

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/*
 
2
**  Originally written by Steven M. Bellovin <smb@research.att.com> while
 
3
**  at the University of North Carolina at Chapel Hill.  Later tweaked by
 
4
**  a couple of people on Usenet.  Completely overhauled by Rich $alz
 
5
**  <rsalz@bbn.com> and Jim Berets <jberets@bbn.com> in August, 1990.
 
6
**
 
7
**  This code is in the public domain and has no copyright.
 
8
*/
 
9
 
 
10
# include "setup.h"
 
11
 
 
12
#ifndef PARAMS
 
13
# if defined PROTOTYPES || (defined __STDC__ && __STDC__)
 
14
#  define PARAMS(Args) Args
 
15
# else
 
16
#  define PARAMS(Args) ()
 
17
# endif
 
18
#endif
 
19
 
 
20
#ifdef vms
 
21
# include <types.h>
 
22
# include <time.h>
 
23
#else
 
24
# include <sys/types.h>
 
25
# if TIME_WITH_SYS_TIME
 
26
#  include <sys/time.h>
 
27
#  include <time.h>
 
28
# else
 
29
#  if HAVE_SYS_TIME_H
 
30
#   include <sys/time.h>
 
31
#  else
 
32
#   include <time.h>
 
33
#  endif
 
34
# endif
 
35
#endif /* defined (vms) */
 
36
 
 
37
time_t curl_getdate PARAMS ((const char *p, const time_t *now));