Re: making a global structure

2009-09-14 Thread SandeepKsinha
Hi Krushnaal, On Mon, Sep 14, 2009 at 5:54 PM, krushnaal pai wrote: > hello > i am a newbie, i know about exporting variables between modules, > but what i am trying right now is to export a structure( i want to make a > global structure) > i wrote this in one module. > Code: > > struct abc{

making a global structure

2009-09-14 Thread krushnaal pai
hello i am a newbie, i know about exporting variables between modules, but what i am trying right now is to export a structure( i want to make a global structure) i wrote this in one module. Code: struct abc{ int y; int a[10]; int *z[10]; }; struct abc *x; EXPORT_SYMBOL(x); then i tried to u