diff options
author | Steve Hay <SteveHay@planit.com> | 2005-11-01 10:33:48 +0000 |
---|---|---|
committer | Steve Hay <SteveHay@planit.com> | 2005-11-01 10:33:48 +0000 |
commit | c3ff6b3084af5c20dc83804f3f4b6c8579748033 (patch) | |
tree | a04ac991fc1e7e1a2d2c161f0fe7222b076d1bb9 /win32 | |
parent | a015a77ee9cc914e7f9e8f0800206bb50400cc4a (diff) | |
download | perl-c3ff6b3084af5c20dc83804f3f4b6c8579748033.tar.gz |
Make PerlLIOUtime()'s filename const
Fixes a warning brought about by change #25941 (which made the
filename argument const).
The various implementations of PerlLIOUtime() (in NetWare/, win32/
and wince/) already take a const filename.
p4raw-link: @25941 on //depot/perl: e96b369dc61077fe31b75895167f55dbce4d7519
p4raw-id: //depot/perl@25945
Diffstat (limited to 'win32')
-rw-r--r-- | win32/perlhost.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/win32/perlhost.h b/win32/perlhost.h index c8a0406b6c..24ed2b79ee 100644 --- a/win32/perlhost.h +++ b/win32/perlhost.h @@ -1065,7 +1065,7 @@ PerlLIOUnlink(struct IPerlLIO* piPerl, const char *filename) } int -PerlLIOUtime(struct IPerlLIO* piPerl, char *filename, struct utimbuf *times) +PerlLIOUtime(struct IPerlLIO* piPerl, const char *filename, struct utimbuf *times) { return win32_utime(filename, times); } |