Re: lib/sh/mktime.c VMS specific code is not needed.
From:
Chet Ramey
Subject:
Re: lib/sh/mktime.c VMS specific code is not needed.
Date:
Mon, 04 Jun 2012 09:05:28 -0400
User-agent:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.7; rv:11.0) Gecko/20120327 Thunderbird/11.0.1
On 6/2/12 7:51 PM, John Malmberg wrote:
> The lib/sh/mktime.c module has a VMS specific include of <sys/types.h> to
> pick up time_t.
No, it doesn't. VMS systems include <stddef.h>.
> On VMS, the time_t type is defined in the <time.h> module.
>
> So this VMS specific include can be removed.
So there is nothing in <stddef.h> that VMS requires for <time.h>? That is
the reason for that code block.
--
``The lyf so short, the craft so long to lerne.'' - Chaucer
``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, ITS, CWRU chet@case.edu http://cnswww.cns.cwru.edu/~chet/