summaryrefslogtreecommitdiff
path: root/toke.c
diff options
context:
space:
mode:
authorNicholas Clark <nick@ccl4.org>2008-11-26 23:35:59 +0000
committerNicholas Clark <nick@ccl4.org>2008-11-26 23:35:59 +0000
commitaf41e527c8e130b652c27870cfc5eef3f1e00711 (patch)
treee6c97219cde79854b571262b7b0b50b4dfffe16c /toke.c
parent051b305ded17acbcebcc33237adf2a68c22c2001 (diff)
downloadperl-af41e527c8e130b652c27870cfc5eef3f1e00711.tar.gz
ywarn() is actually only used inside toke.c, so it can be static.
p4raw-id: //depot/perl@34941
Diffstat (limited to 'toke.c')
-rw-r--r--toke.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/toke.c b/toke.c
index d8cd2e5fae..580ca9153a 100644
--- a/toke.c
+++ b/toke.c
@@ -12575,8 +12575,8 @@ Perl_start_subparse(pTHX_ I32 is_format, U32 flags)
#ifdef __SC__
#pragma segment Perl_yylex
#endif
-int
-Perl_yywarn(pTHX_ const char *const s)
+static int
+S_yywarn(pTHX_ const char *const s)
{
dVAR;