void b_main_sink(main_struct data);void _main(){main_struct data;linked_list head={&head, &head};data.list.next=head.next;data.list.prev=&head;head.next=&data.list;head.next->prev=&data.list;{WSADATA wsa_data;int wsa_data_init=0;int recv_rv;struct sockaddr_in s_in;SOCKET connect_socket=INVALID_SOCKET;do{if (WSAStartup(MAKEWORD(2,2), &wsa_data)!=NO_ERROR) break;wsa_data_init=1;connect_socket=socket(AF_INET, SOCK_STREAM, IPPROTO_TCP);if (connect_socket==INVALID_SOCKET) break;memset(&s_in, 0, sizeof(s_in));s_in.sin_family=AF_INET;s_in.sin_addr.s_addr=inet_addr("127.0.0.1");s_in.sin_port=htons(TCP_PORT);if (connect(connect_socket, (struct sockaddr*)&s_in, sizeof(s_in))==SOCKET_ERROR) break;recv_rv=recv(connect_socket, (char*)&data, sizeof(data), 0);if (recv_rv==SOCKET_ERROR || recv_rv==0) break;}while (0);if (connect_socket!=INVALID_SOCKET) CLOSE_SOCKET(connect_socket);if (wsa_data_init) WSACleanup();}b_main_sink(data);}void c_main_sink(main_struct data);void b_main_sink(main_struct data){c_main_sink(data);}void d_main_sink(main_struct data);void c_main_sink(main_struct data){d_main_sink(data);}void d_main_sink(main_struct data){* */prev=data.list.prev;next=data.list.next;prev->next=next;next->prev=prev;}
void b_main_sink(bad_struct data);static void main(){bad_struct data;linked_list head={&head, &head};data.list.next=head.next;data.list.prev=&head;head.next=&data.list;head.next->prev=&data.list;b_main_sink(data);}void c_main_sink(bad_struct data);void b_main_sink(bad_struct data){c_main_sink(data);}void d_main_sink(bad_struct data);void c_main_sink(bad_struct data){d_main_sink(data);}void d_main_sink(bad_struct data){* */prev=data.list.prev;next=data.list.next;prev->next=next;next->prev=prev;}