summaryrefslogtreecommitdiff
path: root/src/connection.h
diff options
context:
space:
mode:
authorzhenwei pi <pizhenwei@bytedance.com>2022-07-27 09:38:25 +0800
committerzhenwei pi <pizhenwei@bytedance.com>2022-08-22 15:01:16 +0800
commit8045e26efacd8b1b1f7467002070eaf440a1c2bb (patch)
tree7cd0ccda24641d5da75ec710d3f21471796c0f70 /src/connection.h
parentdca5c6ff114b69213ee3c14530e0ed20169d86b0 (diff)
downloadredis-8045e26efacd8b1b1f7467002070eaf440a1c2bb.tar.gz
Move 'connGetSocketError' to 'anetGetError'
getsockopt is part of TCP, rename 'connGetSocketError' to 'anetGetError', and move it into anet.c. Signed-off-by: zhenwei pi <pizhenwei@bytedance.com>
Diffstat (limited to 'src/connection.h')
-rw-r--r--src/connection.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/connection.h b/src/connection.h
index 6e07f5c28..efcc8d7f6 100644
--- a/src/connection.h
+++ b/src/connection.h
@@ -264,8 +264,6 @@ static inline const char *connGetInfo(connection *conn, char *buf, size_t buf_le
return buf;
}
-int connGetSocketError(connection *conn);
-
/* anet-style wrappers to conns */
int connBlock(connection *conn);
int connNonBlock(connection *conn);