We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent dea5c24 commit ddb7e8cCopy full SHA for ddb7e8c
src/main/c/cext/printf.c
@@ -36,7 +36,7 @@ char* rb_value_to_str(const VALUE *arg, int showsign) {
36
return cstr;
37
}
38
39
-VALUE rb_tr_get_sprintf_args(va_list args, VALUE types);
+static VALUE rb_tr_get_sprintf_args(va_list args, VALUE types);
40
41
VALUE rb_tr_vsprintf_new_cstr(char *cstr) {
42
if (cstr == NULL) {
@@ -106,7 +106,7 @@ enum printf_arg_types {
106
TYPE_SLONGLONG,
107
};
108
109
-VALUE rb_tr_get_sprintf_args(va_list args, VALUE types) {
+static VALUE rb_tr_get_sprintf_args(va_list args, VALUE types) {
110
VALUE ary = rb_ary_new();
111
112
long len = RARRAY_LEN(types);
0 commit comments