Fix "old-style function definition"
``` namespace.c: In function ‘rb_namespace_available’: namespace.c:55:1: warning: old-style function definition [-Wold-style-definition] 55 | rb_namespace_available() | ^~~~~~~~~~~~~~~~~~~~~~ ```
This commit is contained in:
parent
382645d440
commit
1e4f7a28b8
@ -52,7 +52,7 @@ VALUE rb_resolve_feature_path(VALUE klass, VALUE fname);
|
||||
static VALUE rb_namespace_inspect(VALUE obj);
|
||||
|
||||
int
|
||||
rb_namespace_available()
|
||||
rb_namespace_available(void)
|
||||
{
|
||||
const char *env;
|
||||
if (namespace_availability) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user