summaryrefslogtreecommitdiff
path: root/ext/-test-
diff options
context:
space:
mode:
authorNobuyoshi Nakada <nobu@ruby-lang.org>2020-12-05 14:46:34 +0900
committerNobuyoshi Nakada <nobu@ruby-lang.org>2020-12-05 14:57:31 +0900
commitd2b7e1e4b24633608aba8ef1e00189b00ea2a1d8 (patch)
treee50b1be165c5cfa9381426c697e0189c58e5d6f5 /ext/-test-
parenta83a51932dbc31b549e11b9da8967f2f52a8b07c (diff)
Protoized old pre-ANSI K&R style definitions
Diffstat (limited to 'ext/-test-')
-rw-r--r--ext/-test-/RUBY_ALIGNOF/c.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/-test-/RUBY_ALIGNOF/c.c b/ext/-test-/RUBY_ALIGNOF/c.c
index 5768b8c3ddf..7a9f7cb498d 100644
--- a/ext/-test-/RUBY_ALIGNOF/c.c
+++ b/ext/-test-/RUBY_ALIGNOF/c.c
@@ -9,7 +9,7 @@ struct T {
RBIMPL_STATIC_ASSERT(RUBY_ALIGNOF, RUBY_ALIGNOF(double) == offsetof(struct T, t));
void
-Init_RUBY_ALIGNOF()
+Init_RUBY_ALIGNOF(void)
{
// Windows linker mandates this symbol to exist.
}