summaryrefslogtreecommitdiff
path: root/lib/posixtm.h
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>1998-09-17 13:48:20 +0000
committerJim Meyering <jim@meyering.net>1998-09-17 13:48:20 +0000
commit8251e716d092cc9c9dd221405498876829efe3cb (patch)
tree4156c83c981f123377341bd9a664003d093be320 /lib/posixtm.h
parentc6eaa6fd0acd5ac7c5afb2717ee167abbbdff604 (diff)
downloadgnulib-8251e716d092cc9c9dd221405498876829efe3cb.tar.gz
(PARAMS): Define and use.
From Kaveh Ghazi.
Diffstat (limited to 'lib/posixtm.h')
-rw-r--r--lib/posixtm.h12
1 files changed, 10 insertions, 2 deletions
diff --git a/lib/posixtm.h b/lib/posixtm.h
index 36ffc016cb..d2c01c9b6b 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