summaryrefslogtreecommitdiff
path: root/enc
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2017-12-15 14:42:43 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2017-12-15 14:42:43 +0000
commit7c4306e6e9c3c4a255f4ad20134c1832dbe45ba2 (patch)
tree9dc0a268704c41c9ce7bd4fe7ce90b45321e4135 /enc
parenta9419fbd4fe597a9ef41621d16664a659544ed76 (diff)
downloadruby-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.blt2
-rw-r--r--enc/jis/props.kwd2
-rw-r--r--enc/jis/props.src2
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;