make some internal functions static; patch supplied by Kurt Roeckx
This commit is contained in:
parent
90076b96df
commit
b3e72fc37f
@ -68,7 +68,7 @@ static int asn1_item_ex_combine_new(ASN1_VALUE **pval, const ASN1_ITEM *it,
|
|||||||
int combine);
|
int combine);
|
||||||
static void asn1_item_clear(ASN1_VALUE **pval, const ASN1_ITEM *it);
|
static void asn1_item_clear(ASN1_VALUE **pval, const ASN1_ITEM *it);
|
||||||
static void asn1_template_clear(ASN1_VALUE **pval, const ASN1_TEMPLATE *tt);
|
static void asn1_template_clear(ASN1_VALUE **pval, const ASN1_TEMPLATE *tt);
|
||||||
void asn1_primitive_clear(ASN1_VALUE **pval, const ASN1_ITEM *it);
|
static void asn1_primitive_clear(ASN1_VALUE **pval, const ASN1_ITEM *it);
|
||||||
|
|
||||||
ASN1_VALUE *ASN1_item_new(const ASN1_ITEM *it)
|
ASN1_VALUE *ASN1_item_new(const ASN1_ITEM *it)
|
||||||
{
|
{
|
||||||
@ -373,7 +373,7 @@ int ASN1_primitive_new(ASN1_VALUE **pval, const ASN1_ITEM *it)
|
|||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
void asn1_primitive_clear(ASN1_VALUE **pval, const ASN1_ITEM *it)
|
static void asn1_primitive_clear(ASN1_VALUE **pval, const ASN1_ITEM *it)
|
||||||
{
|
{
|
||||||
int utype;
|
int utype;
|
||||||
if (it && it->funcs)
|
if (it && it->funcs)
|
||||||
|
@ -100,8 +100,8 @@ static int acpt_new(BIO *h);
|
|||||||
static int acpt_free(BIO *data);
|
static int acpt_free(BIO *data);
|
||||||
static int acpt_state(BIO *b, BIO_ACCEPT *c);
|
static int acpt_state(BIO *b, BIO_ACCEPT *c);
|
||||||
static void acpt_close_socket(BIO *data);
|
static void acpt_close_socket(BIO *data);
|
||||||
BIO_ACCEPT *BIO_ACCEPT_new(void );
|
static BIO_ACCEPT *BIO_ACCEPT_new(void );
|
||||||
void BIO_ACCEPT_free(BIO_ACCEPT *a);
|
static void BIO_ACCEPT_free(BIO_ACCEPT *a);
|
||||||
|
|
||||||
#define ACPT_S_BEFORE 1
|
#define ACPT_S_BEFORE 1
|
||||||
#define ACPT_S_GET_ACCEPT_SOCKET 2
|
#define ACPT_S_GET_ACCEPT_SOCKET 2
|
||||||
@ -141,7 +141,7 @@ static int acpt_new(BIO *bi)
|
|||||||
return(1);
|
return(1);
|
||||||
}
|
}
|
||||||
|
|
||||||
BIO_ACCEPT *BIO_ACCEPT_new(void)
|
static BIO_ACCEPT *BIO_ACCEPT_new(void)
|
||||||
{
|
{
|
||||||
BIO_ACCEPT *ret;
|
BIO_ACCEPT *ret;
|
||||||
|
|
||||||
@ -154,7 +154,7 @@ BIO_ACCEPT *BIO_ACCEPT_new(void)
|
|||||||
return(ret);
|
return(ret);
|
||||||
}
|
}
|
||||||
|
|
||||||
void BIO_ACCEPT_free(BIO_ACCEPT *a)
|
static void BIO_ACCEPT_free(BIO_ACCEPT *a)
|
||||||
{
|
{
|
||||||
if(a == NULL)
|
if(a == NULL)
|
||||||
return;
|
return;
|
||||||
|
@ -82,7 +82,7 @@ static int dgram_new(BIO *h);
|
|||||||
static int dgram_free(BIO *data);
|
static int dgram_free(BIO *data);
|
||||||
static int dgram_clear(BIO *bio);
|
static int dgram_clear(BIO *bio);
|
||||||
|
|
||||||
int BIO_dgram_should_retry(int s);
|
static int BIO_dgram_should_retry(int s);
|
||||||
|
|
||||||
static BIO_METHOD methods_dgramp=
|
static BIO_METHOD methods_dgramp=
|
||||||
{
|
{
|
||||||
@ -399,7 +399,7 @@ static int dgram_puts(BIO *bp, const char *str)
|
|||||||
return(ret);
|
return(ret);
|
||||||
}
|
}
|
||||||
|
|
||||||
int BIO_dgram_should_retry(int i)
|
static int BIO_dgram_should_retry(int i)
|
||||||
{
|
{
|
||||||
int err;
|
int err;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user