Messages in this thread | | | Date | Wed, 22 Mar 2000 02:58:41 +0000 | From | Andrew Morton <> | Subject | Re: [patch] 2.3.99-pre3-3: dev alloc name |
| |
Eric Brunet wrote: > > Maybe: > > struct thing > { > char *s; > int i; > }; > > static char thing__t1[]= "foo"; > static char thing__t2[]= "foo"; > > struct thing t1 = { thing__t1, 4 }; > struct thing t2 = { thing__t2, 4 };
Yes! That does everything right. The strings are uniquely generated and placed in .data
-akpm-
- 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/
| |