summaryrefslogtreecommitdiff
path: root/ext/openssl/ossl_pkey_ec.c
diff options
context:
space:
mode:
authorKazuki Yamaguchi <[email protected]>2024-10-30 04:03:05 +0900
committergit <[email protected]>2024-12-07 07:55:47 +0000
commit1df63d9451459209c00f5e8db033f18d145cc741 (patch)
treece5974853c7e43ed0d3b47042368fcc0fd267dc8 /ext/openssl/ossl_pkey_ec.c
parentcbe7bfd9a81273c04a40f1ff19f516f8db31ac53 (diff)
[ruby/openssl] Mark variables and functions as static whenever possible
https://github.com/ruby/openssl/commit/85d6b7f192
Diffstat (limited to 'ext/openssl/ossl_pkey_ec.c')
-rw-r--r--ext/openssl/ossl_pkey_ec.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/ext/openssl/ossl_pkey_ec.c b/ext/openssl/ossl_pkey_ec.c
index 10f44edf1f..9852be6d31 100644
--- a/ext/openssl/ossl_pkey_ec.c
+++ b/ext/openssl/ossl_pkey_ec.c
@@ -41,11 +41,11 @@ static const rb_data_type_t ossl_ec_point_type;
} while (0)
VALUE cEC;
-VALUE eECError;
-VALUE cEC_GROUP;
-VALUE eEC_GROUP;
-VALUE cEC_POINT;
-VALUE eEC_POINT;
+static VALUE eECError;
+static VALUE cEC_GROUP;
+static VALUE eEC_GROUP;
+static VALUE cEC_POINT;
+static VALUE eEC_POINT;
static ID s_GFp, s_GF2m;