summaryrefslogtreecommitdiff
path: root/ext
diff options
context:
space:
mode:
authorRobin Barker <RMBarker@cpan.org>2008-01-10 18:50:12 +0000
committerRafael Garcia-Suarez <rgarciasuarez@gmail.com>2008-01-11 10:37:00 +0000
commit4b48cf39454aea22003054f8b0a85963f328fe30 (patch)
treeb39c59e198992eb979b0fc570abda3e59b91fd81 /ext
parent6800ac04a92fd86e0a6ce0a1f5bba1889703974c (diff)
downloadperl-4b48cf39454aea22003054f8b0a85963f328fe30.tar.gz
From: "Robin Barker" <Robin.Barker@npl.co.uk>
Message-ID: <46A0F33545E63740BC7563DE59CA9C6D0939C3@exchsvr2.npl.ad.local> More consting. p4raw-id: //depot/perl@32947
Diffstat (limited to 'ext')
-rw-r--r--ext/POSIX/POSIX.xs4
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/POSIX/POSIX.xs b/ext/POSIX/POSIX.xs
index 867d35bfe1..3092934468 100644
--- a/ext/POSIX/POSIX.xs
+++ b/ext/POSIX/POSIX.xs
@@ -386,7 +386,7 @@ unsigned long strtoul (const char *, char **, int);
#endif
static int
-not_here(char *s)
+not_here(const char *s)
{
croak("POSIX::%s not implemented on this architecture", s);
return -1;
@@ -1662,7 +1662,7 @@ strtol(str, base = 0)
void
strtoul(str, base = 0)
- char * str
+ const char * str
int base
PREINIT:
unsigned long num;