diff options
author | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2020-12-05 14:46:34 +0900 |
---|---|---|
committer | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2020-12-05 14:57:31 +0900 |
commit | d2b7e1e4b24633608aba8ef1e00189b00ea2a1d8 (patch) | |
tree | e50b1be165c5cfa9381426c697e0189c58e5d6f5 /ext | |
parent | a83a51932dbc31b549e11b9da8967f2f52a8b07c (diff) | |
download | ruby-d2b7e1e4b24633608aba8ef1e00189b00ea2a1d8.tar.gz |
Protoized old pre-ANSI K&R style definitions
Diffstat (limited to 'ext')
-rw-r--r-- | ext/-test-/RUBY_ALIGNOF/c.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/-test-/RUBY_ALIGNOF/c.c b/ext/-test-/RUBY_ALIGNOF/c.c index 5768b8c3dd..7a9f7cb498 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. } |