Messages in this thread | | | Subject | Re: [PATCH] 2.3.41 - cleanup file_operations structs | Date | Mon, 31 Jan 2000 14:10:52 -0300 | From | Horst von Brand <> |
| |
Pauline Middelink <middelink@polyware.nl> said: > On Mon, 31 Jan 31 2000 around 08:11:11 +0100, almesber@lrc.di.epfl.ch wrote:
[...]
> > $ cat z.c > > #include <stdio.h> > > > > > > struct foo { > > int a,b; > > } bar = { > > .a = 5, > > .b = 7, > > }; > > This doesn't say much. A better test would be to init the members > in the reverse order. It could be the compiler simple skipped the > labels :) And the extra , after the b member seems suspicious...
That's OK. At the end of an enum or struct you can place an extra ',' sez C (for benefit of stupid programs generating them). -- Horst von Brand vonbrand@sleipnir.valparaiso.cl Casilla 9G, Viña del Mar, Chile +56 32 672616
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/
| |