diff options
Diffstat (limited to 'lib/posixtm.h')
-rw-r--r-- | lib/posixtm.h | 13 |
1 files changed, 9 insertions, 4 deletions
diff --git a/lib/posixtm.h b/lib/posixtm.h index f2bca7943..36ffc016c 100644 --- a/lib/posixtm.h +++ b/lib/posixtm.h @@ -1,11 +1,16 @@ +#ifndef POSIXTM_H_ +# define POSIXTM_H_ + /* POSIX Date Syntax flags. */ -#define PDS_LEADING_YEAR 1 -#define PDS_TRAILING_YEAR 2 -#define PDS_CENTURY 4 -#define PDS_SECONDS 8 +# define PDS_LEADING_YEAR 1 +# define PDS_TRAILING_YEAR 2 +# define PDS_CENTURY 4 +# define PDS_SECONDS 8 time_t posixtime (const char *s, unsigned int syntax_bits); struct tm * posixtm (const char *s, unsigned int syntax_bits); + +#endif |