Reverted the change in struct sockaddr since it wasn't compatible to the standard (bug #29210)

This commit is contained in:
goldsimon 2010-03-13 14:09:52 +00:00
parent 839befe68a
commit 79d3b41e13

View File

@ -59,13 +59,7 @@ struct sockaddr_in {
struct sockaddr { struct sockaddr {
u8_t sa_len; u8_t sa_len;
u8_t sa_family; u8_t sa_family;
union { u16_t sa_data[14];
char bytes[14];
struct {
u16_t a1;
u32_t a2;
} alignment;
} sa_data;
}; };
#ifndef socklen_t #ifndef socklen_t