diff options
author | Robin Barker <RMBarker@cpan.org> | 2007-12-22 00:39:47 +0000 |
---|---|---|
committer | Nicholas Clark <nick@ccl4.org> | 2007-12-22 16:17:01 +0000 |
commit | d3f5e39945c1adca90422be3853d860ba9478c11 (patch) | |
tree | 3c862227ab85f5337dad461b490e91a47018452d /ext/IPC | |
parent | 3376de987afecc3e3aea14b3dea087f4b50fd3f4 (diff) | |
download | perl-d3f5e39945c1adca90422be3853d860ba9478c11.tar.gz |
ext/ consting
From: "Robin Barker" <Robin.Barker@npl.co.uk>
Message-ID: <46A0F33545E63740BC7563DE59CA9C6D09399D@exchsvr2.npl.ad.local>
Date: Sat, 22 Dec 2007 00:39:47 -0000
p4raw-id: //depot/perl@32703
Diffstat (limited to 'ext/IPC')
-rw-r--r-- | ext/IPC/SysV/SysV.xs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/IPC/SysV/SysV.xs b/ext/IPC/SysV/SysV.xs index deaa8e85bc..b5137cf0a7 100644 --- a/ext/IPC/SysV/SysV.xs +++ b/ext/IPC/SysV/SysV.xs @@ -222,7 +222,7 @@ BOOT: /* * constant subs for IPC::SysV */ - struct { char *n; I32 v; } IPC__SysV__const[] = { + struct { const char *n; I32 v; } IPC__SysV__const[] = { #ifdef GETVAL {"GETVAL", GETVAL}, #endif @@ -434,7 +434,7 @@ BOOT: {"S_IRWXO", S_IRWXO}, #endif {Nullch,0}}; - char *name; + const char *name; int i; for(i = 0 ; (name = IPC__SysV__const[i].n) ; i++) { |