summaryrefslogtreecommitdiff
path: root/ext
diff options
context:
space:
mode:
authorNobuyoshi Nakada <nobu@ruby-lang.org>2026-03-15 08:42:56 +0900
committerNobuyoshi Nakada <nobu@ruby-lang.org>2026-03-15 14:42:01 +0900
commit697eb6d828359451a19ab39e479f8f1ef397707d (patch)
treee8353ed9c0a51dd29999a94d410b4fae103bb05f /ext
parent1e5a4434bb6a2e23f61aa5e2f49ad118d0c7dc84 (diff)
[ruby/io-console] Do not use C99 style comment [ci skip]
The minimum required ruby version of this library is still 2.6. C99 has been adopted since ruby 2.7. https://github.com/ruby/io-console/commit/f907e5a237
Diffstat (limited to 'ext')
-rw-r--r--ext/io/console/console.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/io/console/console.c b/ext/io/console/console.c
index da5b21e9ae..9c7b674690 100644
--- a/ext/io/console/console.c
+++ b/ext/io/console/console.c
@@ -1709,7 +1709,7 @@ console_dev(int argc, VALUE *argv, VALUE klass)
Check_Type(sym = argv[0], T_SYMBOL);
}
- // Force the class to be File.
+ /* Force the class to be File. */
if (klass == rb_cIO) klass = rb_cFile;
if (console_dev_get(klass, &con)) {