diff options
author | Daniel Dragan <bulk88@hotmail.com> | 2012-11-05 02:19:29 -0500 |
---|---|---|
committer | Jan Dubois <jand@activestate.com> | 2012-11-08 16:54:56 -0800 |
commit | dbf7dff66e440223aca0cc87655e65e096264d59 (patch) | |
tree | 114e652e01f7ab1861e2abf88de8d086a8ccdb34 /time64.c | |
parent | 94f1727772e0683d79e2101f4dc93ac2ef282c4c (diff) | |
download | perl-dbf7dff66e440223aca0cc87655e65e096264d59.tar.gz |
remove various redundant dTHXes
Remove either unused dTHXes, or remove dTHXes where a nocontext func can
be used instead. Smaller/faster machine code is the result.
Diffstat (limited to 'time64.c')
-rw-r--r-- | time64.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -303,7 +303,9 @@ static void S_copy_little_tm_to_big_TM(const struct tm *src, struct TM *dest) { #ifndef HAS_LOCALTIME_R /* Simulate localtime_r() to the best of our ability */ static struct tm * S_localtime_r(const time_t *clock, struct tm *result) { +#ifdef VMS dTHX; /* in case the following is defined as Perl_my_localtime(aTHX_ ...) */ +#endif const struct tm *static_result = localtime(clock); assert(result != NULL); |