lws_socket_bind: use lws_sockfd_type

This commit is contained in:
Andy Green 2016-11-16 08:59:47 +08:00
parent 2926553c41
commit 53bed78950
2 changed files with 2 additions and 2 deletions

View file

@ -1473,7 +1473,7 @@ lws_extension_callback_pm_deflate(struct lws_context *context,
#endif
LWS_EXTERN int
lws_socket_bind(struct lws_vhost *vhost, int sockfd, int port,
lws_socket_bind(struct lws_vhost *vhost, lws_sockfd_type sockfd, int port,
const char *iface)
{
#if LWS_POSIX

View file

@ -1466,7 +1466,7 @@ struct lws {
LWS_EXTERN int log_level;
LWS_EXTERN int
lws_socket_bind(struct lws_vhost *vhost, int sockfd, int port,
lws_socket_bind(struct lws_vhost *vhost, lws_sockfd_type sockfd, int port,
const char *iface);
LWS_EXTERN void