1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

[ruby/io-console] Shrink struct query_args

https://github.com/ruby/io-console/commit/720be0a3e5
This commit is contained in:
Nobuyoshi Nakada 2021-01-05 16:31:43 +09:00
parent 4272395982
commit 83e62d7798

View file

@ -1223,8 +1223,8 @@ console_key_pressed_p(VALUE io, VALUE k)
} }
#else #else
struct query_args { struct query_args {
const char *qstr; char qstr[6];
int opt; unsigned char opt;
}; };
static int static int