summaryrefslogtreecommitdiff
path: root/tool
diff options
context:
space:
mode:
Diffstat (limited to 'tool')
-rwxr-xr-xtool/enc-unicode.rb6
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;
%%