mktime.c: Assume freestanding C89 or better.
authorPaul Eggert <eggert@cs.ucla.edu>
Thu, 5 Jun 2003 20:56:42 +0000 (20:56 +0000)
committerPaul Eggert <eggert@cs.ucla.edu>
Thu, 5 Jun 2003 20:56:42 +0000 (20:56 +0000)
lib/ChangeLog

index 6385993f4d919fcbd2fd60e84447bbcec32643a3..6603bf3b3f8e3a205585a3b5d08f04adcd6fd1d7 100644 (file)
@@ -1,3 +1,14 @@
+2003-06-05  Paul Eggert  <eggert@twinsun.com>
+
+       * mktime.c: Assume freestanding C89 or better.
+       (HAVE_LIMITS_H): Remove.  Assume it's 1.
+       (__P): Remove; not used.
+       (CHAR_BIT, INT_MIN, INT_MAX): Remove; <limits.h> defines them.
+       (mktime, not_equal_tm, print_tm, check_result,
+       main): Use prototypes.  Use const * where appropriate.
+       (main): Fix typo in testing code that uncovered by above changes.
+       (Local Variables): Remove -DHAVE_LIMITS_H from compile-command.
+
 2003-06-04  Paul Eggert  <eggert@twinsun.com>
 
        * mktime.c: Fix Debian bug 177940