X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=lib%2Fposixtm.h;h=d2c01c9b6b440282643e6c8e36c2e3a6aa961a76;hb=226d63000a25c5f20ceecd610457b32d867909c7;hp=36ffc016cba14846244e9cf80e35a1de908bff8e;hpb=b29665b6f1c73f2437319eb0702bbe052f75f836;p=gnulib.git 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