summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHugo Landau <hlandau@openssl.org>2023-08-09 17:46:32 +0100
committerHugo Landau <hlandau@openssl.org>2023-09-01 10:45:33 +0100
commited28cb8140f1de81eca0f90b169af2b783abfe16 (patch)
tree1b23550e001986bcc853b2f55bbc1d5f72a6766f
parent881e3299dcadd65cc4a2843ba47abc6548ced8f4 (diff)
BIO_s_connect: Make internal functions static
Reviewed-by: Tomas Mraz <tomas@openssl.org> Reviewed-by: Matt Caswell <matt@openssl.org> (Merged from https://github.com/openssl/openssl/pull/21715)
-rw-r--r--crypto/bio/bss_conn.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/crypto/bio/bss_conn.c b/crypto/bio/bss_conn.c
index f494b14000..bc52607978 100644
--- a/crypto/bio/bss_conn.c
+++ b/crypto/bio/bss_conn.c
@@ -52,8 +52,8 @@ static long conn_callback_ctrl(BIO *h, int cmd, BIO_info_cb *);
static int conn_state(BIO *b, BIO_CONNECT *c);
static void conn_close_socket(BIO *data);
-BIO_CONNECT *BIO_CONNECT_new(void);
-void BIO_CONNECT_free(BIO_CONNECT *a);
+static BIO_CONNECT *BIO_CONNECT_new(void);
+static void BIO_CONNECT_free(BIO_CONNECT *a);
#define BIO_CONN_S_BEFORE 1
#define BIO_CONN_S_GET_ADDR 2
@@ -252,7 +252,7 @@ static int conn_state(BIO *b, BIO_CONNECT *c)
return ret;
}
-BIO_CONNECT *BIO_CONNECT_new(void)
+static BIO_CONNECT *BIO_CONNECT_new(void)
{
BIO_CONNECT *ret;
@@ -263,7 +263,7 @@ BIO_CONNECT *BIO_CONNECT_new(void)
return ret;
}
-void BIO_CONNECT_free(BIO_CONNECT *a)
+static void BIO_CONNECT_free(BIO_CONNECT *a)
{
if (a == NULL)
return;