comparison libnnchat.h @ 373:ebbe97f2a2a5

Remove useless semicolons, fixes some pedantic warnings.
author Matti Hamalainen <ccr@tnsp.org>
date Thu, 23 Jun 2011 14:54:11 +0300
parents 88ac689d11bc
children acea18a741e3
comparison
equal deleted inserted replaced
372:b9f0bdad6285 373:ebbe97f2a2a5
58 struct nn_socks_t { 58 struct nn_socks_t {
59 uint8_t version; 59 uint8_t version;
60 uint8_t command; 60 uint8_t command;
61 in_port_t port; 61 in_port_t port;
62 in_addr_t addr; 62 in_addr_t addr;
63 } __attribute__((__packed__));; 63 } __attribute__((__packed__));
64 64
65 struct nn_socks_res_t { 65 struct nn_socks_res_t {
66 uint8_t nb; 66 uint8_t nb;
67 uint8_t result; 67 uint8_t result;
68 in_port_t port; 68 in_port_t port;
69 in_addr_t addr; 69 in_addr_t addr;
70 } __attribute__((__packed__));; 70 } __attribute__((__packed__));
71 71
72 typedef struct _nn_conn_t { 72 typedef struct _nn_conn_t {
73 struct { 73 struct {
74 char *host; 74 char *host;
75 struct hostent *hst; 75 struct hostent *hst;