summaryrefslogtreecommitdiff
path: root/iperlsys.h
diff options
context:
space:
mode:
authorSteve Hay <SteveHay@planit.com>2005-06-24 12:27:45 +0000
committerSteve Hay <SteveHay@planit.com>2005-06-24 12:27:45 +0000
commit0e06f75d89a762be9731eb40ee14d8535e1ae184 (patch)
tree10c8e43d45816ceb9d481106827e82f60406d27a /iperlsys.h
parent4184c77b776c43b48baa00b97fea5ee8fffe0f6a (diff)
downloadperl-0e06f75d89a762be9731eb40ee14d8535e1ae184.tar.gz
Make opendir() filename const in Win32-land & friends
That fact that it wasn't const already was highlighted by a warning from pp_open_dir() generated by change 24743. Rather than undo the const change in pp_open_dir(), this seems to make more sense. Hope I haven't broken Netware or WinCE. p4raw-id: //depot/perl@24974
Diffstat (limited to 'iperlsys.h')
-rw-r--r--iperlsys.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/iperlsys.h b/iperlsys.h
index 28e6719427..883f9357ef 100644
--- a/iperlsys.h
+++ b/iperlsys.h
@@ -366,7 +366,7 @@ typedef int (*LPMakedir)(struct IPerlDir*, const char*, int);
typedef int (*LPChdir)(struct IPerlDir*, const char*);
typedef int (*LPRmdir)(struct IPerlDir*, const char*);
typedef int (*LPDirClose)(struct IPerlDir*, DIR*);
-typedef DIR* (*LPDirOpen)(struct IPerlDir*, char*);
+typedef DIR* (*LPDirOpen)(struct IPerlDir*, const char*);
typedef struct direct* (*LPDirRead)(struct IPerlDir*, DIR*);
typedef void (*LPDirRewind)(struct IPerlDir*, DIR*);
typedef void (*LPDirSeek)(struct IPerlDir*, DIR*, long);