summaryrefslogtreecommitdiff
path: root/embed.fnc
diff options
context:
space:
mode:
authorNicholas Clark <nick@ccl4.org>2007-10-06 23:44:50 +0000
committerNicholas Clark <nick@ccl4.org>2007-10-06 23:44:50 +0000
commitc7030b8198b0e74c565e901a90ca7061aebbf5ad (patch)
tree7ad301c3f4381c8e753625e5f353302cb3932f45 /embed.fnc
parentf0d36289ce76f882218c0a53cd52f716a167e5bb (diff)
downloadperl-c7030b8198b0e74c565e901a90ca7061aebbf5ad.tar.gz
Finally! Worked out how to const Perl_moreswitches().
Although I've committed crimes against indenting to avoid losing blame annotation history. Revisit this when we have version control that can easily see through whitespace changes. [Can probably now propagate consting inside S_parse_body(), Perl_moreswitches() and Perl_yylex(), but that will not affect the external API, so can wait until after 5.10] p4raw-id: //depot/perl@32057
Diffstat (limited to 'embed.fnc')
-rw-r--r--embed.fnc2
1 files changed, 1 insertions, 1 deletions
diff --git a/embed.fnc b/embed.fnc
index 16a8574669..f861bfe936 100644
--- a/embed.fnc
+++ b/embed.fnc
@@ -501,7 +501,7 @@ Ap |I32 |mg_size |NN SV* sv
Ap |void |mini_mktime |NN struct tm *pm
EXp |OP* |mod |NULLOK OP* o|I32 type
p |int |mode_from_discipline|NULLOK SV* discp
-Ap |char* |moreswitches |NN char* s
+Ap |const char* |moreswitches |NN const char* s
p |OP* |my |NN OP* o
Ap |NV |my_atof |NN const char *s
#if (!defined(HAS_MEMCPY) && !defined(HAS_BCOPY)) || (!defined(HAS_MEMMOVE) && !defined(HAS_SAFE_MEMCPY) && !defined(HAS_SAFE_BCOPY))