From: Jim Meyering Date: Thu, 17 Sep 1998 13:48:20 +0000 (+0000) Subject: (PARAMS): Define and use. X-Git-Tag: cvs-readonly~7676 X-Git-Url: http://erislabs.org.uk/gitweb/?a=commitdiff_plain;h=8251e716d092cc9c9dd221405498876829efe3cb;p=gnulib.git (PARAMS): Define and use. From Kaveh Ghazi. --- 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