From 8251e716d092cc9c9dd221405498876829efe3cb Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Thu, 17 Sep 1998 13:48:20 +0000 Subject: [PATCH] (PARAMS): Define and use. From Kaveh Ghazi. --- lib/posixtm.h | 12 ++++++++++-- 1 file 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 -- 2.11.0