summaryrefslogtreecommitdiff
path: root/toke.c
diff options
context:
space:
mode:
authorNicholas Clark <nick@ccl4.org>2009-10-12 11:24:15 +0100
committerNicholas Clark <nick@ccl4.org>2009-10-12 11:24:15 +0100
commit4b8c6c21cda3d9cbafb72eda661edc9052aa2cec (patch)
tree9ccb458342c2d75711d03ccdfbbb14b3209d7c1f /toke.c
parentf8279d106847c47fc5a4092b27d4f24faffd84cd (diff)
downloadperl-4b8c6c21cda3d9cbafb72eda661edc9052aa2cec.tar.gz
deprecate_old() is not public, and only used within toke.c, so can be static.
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 72bbc2f341..c0eed007ec 100644
--- a/toke.c
+++ b/toke.c
@@ -597,8 +597,8 @@ Perl_deprecate(pTHX_ const char *const s)
Perl_warner(aTHX_ packWARN(WARN_DEPRECATED), "Use of %s is deprecated", s);
}
-void
-Perl_deprecate_old(pTHX_ const char *const s)
+static void
+S_deprecate_old(pTHX_ const char *const s)
{
/* This function should NOT be called for any new deprecated warnings */
/* Use Perl_deprecate instead */