From 7c4306e6e9c3c4a255f4ad20134c1832dbe45ba2 Mon Sep 17 00:00:00 2001 From: nobu Date: Fri, 15 Dec 2017 14:42:43 +0000 Subject: 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 --- enc/jis/props.h.blt | 2 +- enc/jis/props.kwd | 2 +- enc/jis/props.src | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) (limited to 'enc') 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; -- cgit v1.2.3