projects
/
openssl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7d5b04d
)
Stop compiler warnings.
author
Dr. Stephen Henson
<steve@openssl.org>
Sat, 27 Oct 2001 00:18:04 +0000
(
00:18
+0000)
committer
Dr. Stephen Henson
<steve@openssl.org>
Sat, 27 Oct 2001 00:18:04 +0000
(
00:18
+0000)
crypto/bio/b_sock.c
patch
|
blob
|
history
diff --git
a/crypto/bio/b_sock.c
b/crypto/bio/b_sock.c
index 741ed27de6e49667cccd6196a01b76d01dcb3f2c..6d77b9d8d40d64e5b29820b950b3e92c86249dc0 100644
(file)
--- 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