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:
Yusuke Endoh 2025-05-01 17:09:48 +09:00 committed by Satoshi Tagomori
parent 382645d440
commit 1e4f7a28b8

View File

@ -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) {