summaryrefslogtreecommitdiff
path: root/pp_sys.c
diff options
context:
space:
mode:
authorCraig A. Berry <craigberry@mac.com>2014-03-02 08:33:28 -0600
committerCraig A. Berry <craigberry@mac.com>2014-03-02 09:22:58 -0600
commitd08a24db4adccab03cc1b3f994d0956590b322ef (patch)
treed7ebd174061f5bf6b593874535f11b81119e4501 /pp_sys.c
parenta3e8baa63ea9808f99d9f569906c495c82941874 (diff)
downloadperl-d08a24db4adccab03cc1b3f994d0956590b322ef.tar.gz
tbuffer_t no longer exists on VMS.
It was replaced by the standard tms struct in v7.0, released in 1995. Explicit support for pre-7.0 was removed in 32995a382d65b for Perl 5.16, but I missed the tbuffer_t bit, which tripped up Nicholas in 25983af42cdcf2dc, because he asked for: struct tbuffer_t which via macro expansion became: struct struct tms which failed to compile. So remove code that's unnecessarily different on VMS, leaving only a tbuffer_t compatibility macro with a more appropriate comment so it will hopefully be less likely to get used in new code.
Diffstat (limited to 'pp_sys.c')
-rw-r--r--pp_sys.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/pp_sys.c b/pp_sys.c
index f1eabba39c..01e397a0c1 100644
--- a/pp_sys.c
+++ b/pp_sys.c
@@ -4397,14 +4397,7 @@ PP(pp_tms)
#ifdef HAS_TIMES
dVAR;
dSP;
-#ifdef VMS
- /* time.h uses different name for struct tms, though the same data is
- returned.
- */
- struct tbuffer_t timesbuf;
-#else
struct tms timesbuf;
-#endif
EXTEND(SP, 4);
(void)PerlProc_times(&timesbuf);