diff options
author | Robin Barker <Robin.Barker@npl.co.uk> | 2009-01-16 16:15:47 +0000 |
---|---|---|
committer | Rafael Garcia-Suarez <rgarciasuarez@gmail.com> | 2009-01-18 09:55:09 +0100 |
commit | a8cb02613db44c6c8a53ff84a0d959222f9c694f (patch) | |
tree | 92e3f4dc04435de59c3b878a7abf47463a7e6b34 | |
parent | b1b1ee3cbfeeb4d81bc0f3c8c5873da55e7d8469 (diff) | |
download | perl-a8cb02613db44c6c8a53ff84a0d959222f9c694f.tar.gz |
consting goodness for time64
-rw-r--r-- | pp_sys.c | 2 | ||||
-rw-r--r-- | time64.h | 2 |
2 files changed, 2 insertions, 2 deletions
@@ -4425,7 +4425,7 @@ PP(pp_gmtime) Time64_T when; struct TM tmbuf; struct TM *err; - char *opname = PL_op->op_type == OP_LOCALTIME ? "localtime" : "gmtime"; + const char *opname = PL_op->op_type == OP_LOCALTIME ? "localtime" : "gmtime"; static const char * const dayname[] = {"Sun", "Mon", "Tue", "Wed", "Thu", "Fri", "Sat"}; static const char * const monname[] = @@ -28,7 +28,7 @@ struct TM64 { #endif #ifdef HAS_TM_TM_ZONE - char *tm_zone; + const char *tm_zone; #endif }; |