From c3ff6b3084af5c20dc83804f3f4b6c8579748033 Mon Sep 17 00:00:00 2001 From: Steve Hay Date: Tue, 1 Nov 2005 10:33:48 +0000 Subject: 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 --- iperlsys.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'iperlsys.h') diff --git a/iperlsys.h b/iperlsys.h index 8380c5ba77..bcce7197f9 100644 --- a/iperlsys.h +++ b/iperlsys.h @@ -632,7 +632,7 @@ typedef int (*LPLIONameStat)(struct IPerlLIO*, const char*, typedef char* (*LPLIOTmpnam)(struct IPerlLIO*, char*); typedef int (*LPLIOUmask)(struct IPerlLIO*, int); typedef int (*LPLIOUnlink)(struct IPerlLIO*, const char*); -typedef int (*LPLIOUtime)(struct IPerlLIO*, char*, struct utimbuf*); +typedef int (*LPLIOUtime)(struct IPerlLIO*, const char*, struct utimbuf*); typedef int (*LPLIOWrite)(struct IPerlLIO*, int, const void*, unsigned int); -- cgit v1.2.1