Skip to content

Commit 8843340

Browse files
committed
make_errno_exc_str should be static, it is an internal helper function
1 parent bff5f60 commit 8843340

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/c/cext/exception.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ VALUE rb_syserr_new_str(int n, VALUE mesg) {
8585
return RUBY_CEXT_INVOKE("rb_syserr_new", INT2FIX(n), mesg);
8686
}
8787

88-
VALUE make_errno_exc_str(VALUE mesg) {
88+
static VALUE make_errno_exc_str(VALUE mesg) {
8989
int n = errno;
9090

9191
errno = 0;

0 commit comments

Comments
 (0)