diff options
author | Nicholas Clark <nick@ccl4.org> | 2009-10-12 11:24:15 +0100 |
---|---|---|
committer | Nicholas Clark <nick@ccl4.org> | 2009-10-12 11:24:15 +0100 |
commit | 4b8c6c21cda3d9cbafb72eda661edc9052aa2cec (patch) | |
tree | 9ccb458342c2d75711d03ccdfbbb14b3209d7c1f /toke.c | |
parent | f8279d106847c47fc5a4092b27d4f24faffd84cd (diff) | |
download | perl-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.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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 */ |