From: Abhijit Menon-Sen Date: Sat, 22 Dec 2007 03:58:49 +0000 (+0000) Subject: Add const to a few prototypes. (Patch from Robin Barker.) X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=a9eee89a8bbc25c967a9cf16cb6eeaf028d96985;p=p5sagit%2Fp5-mst-13.2.git Add const to a few prototypes. (Patch from Robin Barker.) p4raw-id: //depot/perl@32693 --- diff --git a/ext/Storable/Storable.xs b/ext/Storable/Storable.xs index e5fc80a..0ac2b66 100644 --- a/ext/Storable/Storable.xs +++ b/ext/Storable/Storable.xs @@ -1682,7 +1682,7 @@ static SV *pkg_fetchmeth( pTHX_ HV *cache, HV *pkg, - char *method) + const char *method) { GV *gv; SV *sv; @@ -1722,7 +1722,7 @@ static void pkg_hide( pTHX_ HV *cache, HV *pkg, - char *method) + const char *method) { const char *hvname = HvNAME_get(pkg); (void) hv_store(cache, @@ -1738,7 +1738,7 @@ static void pkg_uncache( pTHX_ HV *cache, HV *pkg, - char *method) + const char *method) { const char *hvname = HvNAME_get(pkg); (void) hv_delete(cache, hvname, strlen(hvname), G_DISCARD); @@ -1756,7 +1756,7 @@ static SV *pkg_can( pTHX_ HV *cache, HV *pkg, - char *method) + const char *method) { SV **svh; SV *sv;