From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <0d2806b422357c14fe6a163193958bf3@quanstro.net> From: erik quanstrom Date: Fri, 21 Dec 2007 23:34:42 -0500 To: 9fans@cse.psu.edu Subject: Re: [9fans] 8c padding problem In-Reply-To: <775b8d190712212025v2ee285e9rcc6507000c6289b7@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Topicbox-Message-UUID: 207d3772-ead3-11e9-9d60-3106f5b1d025 > excuse me. that's what hjdicks was for .. and it's called pack. ok. > > abuse them or yourselfs for using such code. > > brucee what's the alternative? what i can think of is either cutting & pasting the repeated elements or not using unnamed structures at all. unfortunately, that results in awful code like so h = (hdr*)buf; p = (proto*)h->data; e = (subprobo*)p->data; - erik