Stop compiler warnings.
This commit is contained in:
parent
7d5b04db4e
commit
1586365835
@ -95,8 +95,10 @@ static struct ghbn_cache_st
|
|||||||
} ghbn_cache[GHBN_NUM];
|
} ghbn_cache[GHBN_NUM];
|
||||||
|
|
||||||
static int get_ip(const char *str,unsigned char *ip);
|
static int get_ip(const char *str,unsigned char *ip);
|
||||||
|
#if 0
|
||||||
static void ghbn_free(struct hostent *a);
|
static void ghbn_free(struct hostent *a);
|
||||||
static struct hostent *ghbn_dup(struct hostent *a);
|
static struct hostent *ghbn_dup(struct hostent *a);
|
||||||
|
#endif
|
||||||
int BIO_get_host_ip(const char *str, unsigned char *ip)
|
int BIO_get_host_ip(const char *str, unsigned char *ip)
|
||||||
{
|
{
|
||||||
int i;
|
int i;
|
||||||
@ -266,6 +268,7 @@ long BIO_ghbn_ctrl(int cmd, int iarg, char *parg)
|
|||||||
return(1);
|
return(1);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#if 0
|
||||||
static struct hostent *ghbn_dup(struct hostent *a)
|
static struct hostent *ghbn_dup(struct hostent *a)
|
||||||
{
|
{
|
||||||
struct hostent *ret;
|
struct hostent *ret;
|
||||||
@ -343,6 +346,8 @@ static void ghbn_free(struct hostent *a)
|
|||||||
OPENSSL_free(a);
|
OPENSSL_free(a);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#endif
|
||||||
|
|
||||||
struct hostent *BIO_gethostbyname(const char *name)
|
struct hostent *BIO_gethostbyname(const char *name)
|
||||||
{
|
{
|
||||||
#if 1
|
#if 1
|
||||||
|
Loading…
Reference in New Issue
Block a user