PERFORCE change 29574 for review
Peter Wemm
peter at FreeBSD.org
Wed Apr 23 18:40:20 PDT 2003
http://perforce.freebsd.org/chv.cgi?CH=29574
Change 29574 by peter at peter_daintree on 2003/04/23 18:40:07
make this compile with gcc-3.3 - surely this wasn't legal C. :-/
Affected files ...
.. //depot/projects/hammer/sys/dev/fxp/if_fxpreg.h#6 edit
Differences ...
==== //depot/projects/hammer/sys/dev/fxp/if_fxpreg.h#6 (text+ko) ====
@@ -291,18 +291,18 @@
* fetched along with the TxCB.
*/
union {
- struct fxp_ipcb;
+ struct fxp_ipcb xx;
struct fxp_tbd tbd[FXP_NTXSEG];
} tx_cb_u;
};
#define tbd tx_cb_u.tbd
-#define ipcb_schedule_low tx_cb_u.ipcb_schedule_low
-#define ipcb_ip_schedule tx_cb_u.ipcb_ip_schedule
-#define ipcb_ip_activation_high tx_cb_u.ipcb_ip_activation_high
-#define ipcb_vlan_id tx_cb_u.ipcb_vlan_id
-#define ipcb_ip_header_offset tx_cb_u.ipcb_ip_header_offset
-#define ipcb_tcp_header_offset tx_cb_u.ipcb_tcp_header_offset
+#define ipcb_schedule_low tx_cb_u.xx.ipcb_schedule_low
+#define ipcb_ip_schedule tx_cb_u.xx.ipcb_ip_schedule
+#define ipcb_ip_activation_high tx_cb_u.xx.ipcb_ip_activation_high
+#define ipcb_vlan_id tx_cb_u.xx.ipcb_vlan_id
+#define ipcb_ip_header_offset tx_cb_u.xx.ipcb_ip_header_offset
+#define ipcb_tcp_header_offset tx_cb_u.xx.ipcb_tcp_header_offset
/*
* IPCB field definitions
More information about the p4-projects
mailing list