ansideclify
[gnulib.git] / lib / posixtm.h
1 #ifndef POSIXTM_H_
2 # define POSIXTM_H_
3
4 /* POSIX Date Syntax flags.  */
5 # define PDS_LEADING_YEAR 1
6 # define PDS_TRAILING_YEAR 2
7 # define PDS_CENTURY 4
8 # define PDS_SECONDS 8
9
10 # ifndef PARAMS
11 #  if defined PROTOTYPES || (defined __STDC__ && __STDC__)
12 #   define PARAMS(Args) Args
13 #  else
14 #   define PARAMS(Args) ()
15 #  endif
16 # endif
17
18 time_t
19 posixtime PARAMS ((const char *s, unsigned int syntax_bits));
20
21 struct tm *
22 posixtm PARAMS ((const char *s, unsigned int syntax_bits));
23
24 #endif