diff options
author | Jim Meyering <jim@meyering.net> | 1998-09-17 13:48:20 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 1998-09-17 13:48:20 +0000 |
commit | 19ff66c384f35b6e3f662a18725cfc3d14882771 (patch) | |
tree | 2a8fd06174a4f9dee8f9200d083dc284d1b46490 /lib | |
parent | d7a781ab5afa34418b309c56bb98bbf467326962 (diff) | |
download | coreutils-19ff66c384f35b6e3f662a18725cfc3d14882771.tar.xz |
(PARAMS): Define and use.
From Kaveh Ghazi.
Diffstat (limited to 'lib')
-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 |