Re: global date via module howto

2006-08-21 Thread John-Mark Gurney
Warner Losh wrote this message on Sun, Aug 20, 2006 at 22:01 -0600: > In message: <[EMAIL PROTECTED]> > Roman Kurakin <[EMAIL PROTECTED]> writes: > : I have the following problem: > : module A > : int x; > : > : module B > : extern int x; > : > : Module A is loaded, mo

Re: global date via module howto

2006-08-20 Thread M. Warner Losh
In message: <[EMAIL PROTECTED]> Roman Kurakin <[EMAIL PROTECTED]> writes: : I have the following problem: : module A : int x; : : module B : extern int x; : : Module A is loaded, module B can't be loaded cause of unknow 'x'. : What should I do to make x global? Better

global date via module howto

2006-08-20 Thread Roman Kurakin
Hi, I have the following problem: module A int x; module B extern int x; Module A is loaded, module B can't be loaded cause of unknow 'x'. What should I do to make x global? PS. I am working on porting irda support for USB devices from NetBSD. The current model consists of two laye