1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

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
This commit is contained in:
nobu 2017-12-15 14:42:43 +00:00
parent a9419fbd4f
commit 7c4306e6e9
9 changed files with 10 additions and 10 deletions

View file

@ -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;

View file

@ -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;

View file

@ -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;