diff options
author | Dr. Stephen Henson <steve@openssl.org> | 2001-10-27 00:18:04 +0000 |
---|---|---|
committer | Dr. Stephen Henson <steve@openssl.org> | 2001-10-27 00:18:04 +0000 |
commit | 1586365835e8eb950e804a4f1e62cff9563061bb (patch) | |
tree | adb0b65cfc46daba964899cf060dd03b071a6fb0 /crypto/bio/b_sock.c | |
parent | 7d5b04db4e80f3d38dd4f1977c12d6fc592079eb (diff) | |
download | openssl-1586365835e8eb950e804a4f1e62cff9563061bb.tar.gz |
Stop compiler warnings.
Diffstat (limited to 'crypto/bio/b_sock.c')
-rw-r--r-- | crypto/bio/b_sock.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/crypto/bio/b_sock.c b/crypto/bio/b_sock.c index 741ed27de6..6d77b9d8d4 100644 --- a/crypto/bio/b_sock.c +++ b/crypto/bio/b_sock.c @@ -95,8 +95,10 @@ static struct ghbn_cache_st } ghbn_cache[GHBN_NUM]; static int get_ip(const char *str,unsigned char *ip); +#if 0 static void ghbn_free(struct hostent *a); static struct hostent *ghbn_dup(struct hostent *a); +#endif int BIO_get_host_ip(const char *str, unsigned char *ip) { int i; @@ -266,6 +268,7 @@ long BIO_ghbn_ctrl(int cmd, int iarg, char *parg) return(1); } +#if 0 static struct hostent *ghbn_dup(struct hostent *a) { struct hostent *ret; @@ -343,6 +346,8 @@ static void ghbn_free(struct hostent *a) OPENSSL_free(a); } +#endif + struct hostent *BIO_gethostbyname(const char *name) { #if 1 |