Skip to content

Commit

Permalink
BIO_s_connect: Make internal functions static
Browse files Browse the repository at this point in the history
Reviewed-by: Tomas Mraz <tomas@openssl.org>
Reviewed-by: Matt Caswell <matt@openssl.org>
(Merged from #21715)
  • Loading branch information
hlandau committed Sep 1, 2023
1 parent 881e329 commit ed28cb8
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions crypto/bio/bss_conn.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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;

Expand All @@ -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;
Expand Down

0 comments on commit ed28cb8

Please sign in to comment.