CsharpDeveloper
Programmer
Hi ,
I try to add some new properties to linux kernel in fedora core 2 . I have to define a global integer variable in one of the header file , which I can reach it from all .c files in kernel .
i.e. it will be enough to reach and modify it from user.c and timer.c .
I tried something with extern but I got compile error when try to "make bzdisk" command .
Does anyone has solution to this problem . What should I write in header file (call it timer.h)
and what should I write in user.c and timer.c to access and modify this integer variable named int my_general_file_limit .
Please help me as soon as possible and send me e-mail if possible . I'm in a deadlock .
Thanx to everyone .
Mr.Tunca Usluer
I try to add some new properties to linux kernel in fedora core 2 . I have to define a global integer variable in one of the header file , which I can reach it from all .c files in kernel .
i.e. it will be enough to reach and modify it from user.c and timer.c .
I tried something with extern but I got compile error when try to "make bzdisk" command .
Does anyone has solution to this problem . What should I write in header file (call it timer.h)
and what should I write in user.c and timer.c to access and modify this integer variable named int my_general_file_limit .
Please help me as soon as possible and send me e-mail if possible . I'm in a deadlock .
Thanx to everyone .
Mr.Tunca Usluer