diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2017-12-15 14:42:43 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2017-12-15 14:42:43 +0000 |
commit | 7c4306e6e9c3c4a255f4ad20134c1832dbe45ba2 (patch) | |
tree | 9dc0a268704c41c9ce7bd4fe7ce90b45321e4135 /enc | |
parent | a9419fbd4fe597a9ef41621d16664a659544ed76 (diff) | |
download | ruby-7c4306e6e9c3c4a255f4ad20134c1832dbe45ba2.tar.gz |
gperf.sed: static declarations
* tool/gperf.sed: comment out arguments part only, to keep the
following declarations static. [Feature #13883]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61282 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'enc')
-rw-r--r-- | enc/jis/props.h.blt | 2 | ||||
-rw-r--r-- | enc/jis/props.kwd | 2 | ||||
-rw-r--r-- | enc/jis/props.src | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/enc/jis/props.h.blt b/enc/jis/props.h.blt index df4850133c..54aa94f8bc 100644 --- a/enc/jis/props.h.blt +++ b/enc/jis/props.h.blt @@ -69,7 +69,7 @@ struct enc_property { unsigned char ctype; }; -/*static const struct enc_property *onig_jis_property(const char *str, unsigned int len);*/ +static const struct enc_property *onig_jis_property(/*const char *str, unsigned int len*/); #line 43 "enc/jis/props.kwd" struct enc_property; diff --git a/enc/jis/props.kwd b/enc/jis/props.kwd index eaeeccda37..659cf0aff4 100644 --- a/enc/jis/props.kwd +++ b/enc/jis/props.kwd @@ -37,7 +37,7 @@ struct enc_property { unsigned char ctype; }; -/*!ANSI*/static const struct enc_property *onig_jis_property(const char *str, unsigned int len); +static const struct enc_property *onig_jis_property(/*!ANSI{*/const char *str, unsigned int len/*}!ANSI*/); %} struct enc_property; diff --git a/enc/jis/props.src b/enc/jis/props.src index eaeeccda37..659cf0aff4 100644 --- a/enc/jis/props.src +++ b/enc/jis/props.src @@ -37,7 +37,7 @@ struct enc_property { unsigned char ctype; }; -/*!ANSI*/static const struct enc_property *onig_jis_property(const char *str, unsigned int len); +static const struct enc_property *onig_jis_property(/*!ANSI{*/const char *str, unsigned int len/*}!ANSI*/); %} struct enc_property; |