[前][次][番号順一覧][スレッド一覧]

ruby-changes:70228

From: Nobuyoshi <ko1@a...>
Date: Wed, 15 Dec 2021 15:04:58 +0900 (JST)
Subject: [ruby-changes:70228] db3ab440db (master): Use prototype definition instead of old K&R style

https://git.ruby-lang.org/ruby.git/commit/?id=db3ab440db

From db3ab440db2444b0b3ad388f68c592ec68cfcca7 Mon Sep 17 00:00:00 2001
From: Nobuyoshi Nakada <nobu@r...>
Date: Wed, 21 Jul 2021 12:40:26 +0900
Subject: Use prototype definition instead of old K&R style

---
 hash.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/hash.c b/hash.c
index f8c5249837f..32a258e7331 100644
--- a/hash.c
+++ b/hash.c
@@ -5369,7 +5369,7 @@ env_aset(VALUE nm, VALUE val) https://github.com/ruby/ruby/blob/trunk/hash.c#L5369
 }
 
 static int
-env_entry_count()
+env_entry_count(void)
 {
     int i;
     char **env;
-- 
cgit v1.2.1


--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]