diff options
author | Nicholas Clark <nick@ccl4.org> | 2008-11-26 23:35:59 +0000 |
---|---|---|
committer | Nicholas Clark <nick@ccl4.org> | 2008-11-26 23:35:59 +0000 |
commit | af41e527c8e130b652c27870cfc5eef3f1e00711 (patch) | |
tree | e6c97219cde79854b571262b7b0b50b4dfffe16c /proto.h | |
parent | 051b305ded17acbcebcc33237adf2a68c22c2001 (diff) | |
download | perl-af41e527c8e130b652c27870cfc5eef3f1e00711.tar.gz |
ywarn() is actually only used inside toke.c, so it can be static.
p4raw-id: //depot/perl@34941
Diffstat (limited to 'proto.h')
-rw-r--r-- | proto.h | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -3733,11 +3733,13 @@ PERL_CALLCONV void Perl_parser_free(pTHX_ const yy_parser *parser) #define PERL_ARGS_ASSERT_PARSER_FREE \ assert(parser) -PERL_CALLCONV int Perl_yywarn(pTHX_ const char *const s) +#if defined(PERL_IN_TOKE_C) || defined(PERL_DECL_PROT) +STATIC int S_yywarn(pTHX_ const char *const s) __attribute__nonnull__(pTHX_1); #define PERL_ARGS_ASSERT_YYWARN \ assert(s) +#endif #if defined(MYMALLOC) PERL_CALLCONV void Perl_dump_mstats(pTHX_ const char* s) __attribute__nonnull__(pTHX_1); |