diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2018-11-16 06:52:00 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2018-11-16 06:52:00 +0000 |
commit | 34cc6fef830adb4f5fcb54e5ee7cfe340da5eb04 (patch) | |
tree | 8df50b0d900a3e2c613feaf437a6648c2068db84 /tool/enc-unicode.rb | |
parent | 429245aa9f858c297d613636b9b8be8671471a64 (diff) |
Make some internal functions static
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65764 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'tool/enc-unicode.rb')
-rwxr-xr-x | tool/enc-unicode.rb | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/tool/enc-unicode.rb b/tool/enc-unicode.rb index c5c593f617..b0819c35ab 100755 --- a/tool/enc-unicode.rb +++ b/tool/enc-unicode.rb @@ -448,9 +448,11 @@ struct uniname2ctype_struct { }; #define uniname2ctype_offset(str) offsetof(struct uniname2ctype_pool_t, uniname2ctype_pool_##str) -#if !(/*ANSI*/+0) -static const struct uniname2ctype_struct *uniname2ctype_p(const char *, unsigned int); +static const struct uniname2ctype_struct *uniname2ctype_p( +#if !(/*ANSI*/+0) /* if ANSI, old style not to conflict with generated prototype */ + const char *, unsigned int #endif +); %} struct uniname2ctype_struct; %% |