changeset 153:70069d83275c

GNU shell utilities
author Jim Meyering <jim@meyering.net>
date Sat, 12 Feb 1994 17:33:04 +0000
parents 37b7adc4e951
children 287ce6d3ead5
files lib/mktime.c
diffstat 1 files changed, 7 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/lib/mktime.c
+++ b/lib/mktime.c
@@ -44,6 +44,13 @@
   ((year) % 4 == 0 && ((year) % 100 != 0 || (year) % 400 == 0))
 #endif
 
+#ifndef __P
+#if defined (__GNUC__) || (defined (__STDC__) && __STDC__)
+#define __P(args) args
+#else
+#define __P(args) ()
+#endif  /* GCC.  */
+#endif  /* Not __P.  */
 
 /* How many days are in each month.  */
 const unsigned short int __mon_lengths[2][12] =