Re: Remain Calm: Designated initializer patches for 2.5
Anton Altaparmakov (aia21@cantab.net)
Thu, 18 Jul 2002 08:33:27 +0100
At 07:56 18/07/02, H. Peter Anvin wrote:
>Arnaldo Carvalho de Melo wrote:
>>Well, I also like the non C99 variant that is in gcc as well, but if gcc is
>>going to drop that in the future in favour of the C99 standard... But yes,
>>not having the spacing is _ugly_, what I'm doing is:
>>static struct proto_ops SOCKOPS_WRAPPED(atalk_dgram_ops) = {
>>         .family         = PF_APPLETALK,
>>         .release        = atalk_release,
>>         .bind           = atalk_bind,
>>         .connect        = atalk_connect,
>>         .socketpair     = sock_no_socketpair,
>>         .accept         = sock_no_accept,
>
>Agreed, that's the way to do it.
Yes, the patch for ntfs that just found its way into my inbox is _really_ 
ugly... Something like the above would be much nicer.
Anton
-- 
   "I've not lost my mind. It's backed up on tape somewhere." - Unknown
-- 
Anton Altaparmakov <aia21 at cantab.net> (replace at with @)
Linux NTFS Maintainer / IRC: #ntfs on irc.openprojects.net
WWW: http://linux-ntfs.sf.net/ & http://www-stu.christs.cam.ac.uk/~aia21/
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/