Skip to content

Remove dead code and unused DEFINEs #5073

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 2 commits into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 0 additions & 11 deletions ext/sockets/conversions.c
Original file line number Diff line number Diff line change
Expand Up @@ -36,16 +36,6 @@ struct _WSAMSG {
WSABUF Control; //void *msg_control, size_t msg_controllen
DWORD dwFlags; //int msg_flags
}
struct __WSABUF {
u_long len; //size_t iov_len (2nd member)
char FAR *buf; //void *iov_base (1st member)
}
struct _WSACMSGHDR {
UINT cmsg_len; //socklen_t cmsg_len
INT cmsg_level; //int cmsg_level
INT cmsg_type; //int cmsg_type;
followed by UCHAR cmsg_data[]
}
*/
# define msg_name name
# define msg_namelen namelen
Expand All @@ -57,7 +47,6 @@ struct _WSACMSGHDR {
# define iov_base buf
# define iov_len len

# define cmsghdr _WSACMSGHDR
# ifdef CMSG_DATA
# undef CMSG_DATA
# endif
Expand Down