Fixes for gcc >= 3.2 from Georg Baum

This commit is contained in:
Michael Brown
2005-05-23 23:47:54 +00:00
parent 809933d9f7
commit 7b423c0988
7 changed files with 23 additions and 19 deletions
+2 -2
View File
@@ -70,12 +70,12 @@ struct dns_rr_info {
} __attribute__ (( packed ));
struct dns_rr_info_a {
struct dns_rr_info;
struct dns_rr_info info;
struct in_addr in_addr;
} __attribute__ (( packed ));
struct dns_rr_info_cname {
struct dns_rr_info;
struct dns_rr_info info;
char cname[0];
} __attribute__ (( packed ));
+1 -1
View File
@@ -14,7 +14,7 @@
#define NBNS_UDP_PORT 137
struct dns_rr_info_nb {
struct dns_rr_info;
struct dns_rr_info info;
uint16_t nb_flags;
struct in_addr nb_address;
} __attribute__ (( packed ));