mirror of
https://github.com/ruby/ruby.git
synced 2025-08-15 13:39:04 +02:00
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
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue