From 34cc6fef830adb4f5fcb54e5ee7cfe340da5eb04 Mon Sep 17 00:00:00 2001 From: nobu Date: Fri, 16 Nov 2018 06:52:00 +0000 Subject: Make some internal functions static git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65764 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- enc/unicode/10.0.0/name2ctype.h | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'enc') diff --git a/enc/unicode/10.0.0/name2ctype.h b/enc/unicode/10.0.0/name2ctype.h index 4a1422d17a..680560707f 100644 --- a/enc/unicode/10.0.0/name2ctype.h +++ b/enc/unicode/10.0.0/name2ctype.h @@ -34756,9 +34756,11 @@ struct uniname2ctype_struct { }; #define uniname2ctype_offset(str) offsetof(struct uniname2ctype_pool_t, uniname2ctype_pool_##str) -#if !1+0 -static const struct uniname2ctype_struct *uniname2ctype_p(const char *, unsigned int); +static const struct uniname2ctype_struct *uniname2ctype_p( +#if !(1+0) /* if ANSI, old style not to conflict with generated prototype */ + const char *, unsigned int #endif +); #ifndef USE_UNICODE_PROPERTIES #define TOTAL_KEYWORDS 15 -- cgit v1.2.3