* mktime.c: Include <string.h> even if !DEBUG. (From glibc.)
authorPaul Eggert <eggert@cs.ucla.edu>
Thu, 23 Jun 2005 07:14:09 +0000 (07:14 +0000)
committerPaul Eggert <eggert@cs.ucla.edu>
Thu, 23 Jun 2005 07:14:09 +0000 (07:14 +0000)
commitbf982dc2f9119b5d655e3266b70bd716cc92cf95
tree97eec53525c8297c078425f42c18425a78ff2bd4
parent917390a696fb41df64df466fb5a4cf8ab00522da
* mktime.c: Include <string.h> even if !DEBUG.  (From glibc.)
(ranged_convert): Don't save conversion in a temporary struct.
This causes a warning with GCC 4.0.0, and anyway in the typical
case it's not worth the extra 100 bytes or so of code.
(ranged_convert, __mktime_internal): When calling a function via a
pointer P, use P () rather than (*P) (), as we now assume C89 or
better.
lib/ChangeLog
lib/mktime.c