(extract_trimmed_name): Use UT_USER instead of hard-coding
[gnulib.git] / lib / posixtm.h
index f2bca79..d2c01c9 100644 (file)
@@ -1,11 +1,24 @@
+#ifndef POSIXTM_H_
+# define POSIXTM_H_
+
 /* POSIX Date Syntax flags.  */
-#define PDS_LEADING_YEAR 1
-#define PDS_TRAILING_YEAR 2
-#define PDS_CENTURY 4
-#define PDS_SECONDS 8
+# define PDS_LEADING_YEAR 1
+# define PDS_TRAILING_YEAR 2
+# 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