diff options
-rw-r--r-- | lib/posixtm.h | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/lib/posixtm.h b/lib/posixtm.h index 36ffc016c..d2c01c9b6 100644 --- a/lib/posixtm.h +++ b/lib/posixtm.h @@ -7,10 +7,18 @@ # define PDS_CENTURY 4 # define PDS_SECONDS 8 +# ifndef PARAMS +# if defined PROTOTYPES || (defined __STDC__ && __STDC__) +# define PARAMS(Args) Args +# else +# define PARAMS(Args) () +# endif +# endif + time_t -posixtime (const char *s, unsigned int syntax_bits); +posixtime PARAMS ((const char *s, unsigned int syntax_bits)); struct tm * -posixtm (const char *s, unsigned int syntax_bits); +posixtm PARAMS ((const char *s, unsigned int syntax_bits)); #endif |