Date: Wed, 23 Apr 2003 18:40:17 -0700 (PDT) From: Peter Wemm <peter@FreeBSD.org> To: Perforce Change Reviews <perforce@freebsd.org> Subject: PERFORCE change 29574 for review Message-ID: <200304240140.h3O1eHYv074033@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=29574 Change 29574 by peter@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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200304240140.h3O1eHYv074033>