Re: extern functions

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 





On 6/15/07, Adrian Bunk <bunk@xxxxxxxxx> wrote:
On Fri, Jun 15, 2007 at 03:50:48PM +0200, Devvrat Tripathi wrote:
> can we declare an extern function(or say variable) inside the kernel and
> then later define it using a kernel module.

No, it would be an unresolved symbol at link time.

What exactly is the problem you are trying to solve?

I want the data available to some functions inside the kernel  to be available to my modules also. I thought i will generally call some extern funct from inside and then define it later from my modules which doesnt work. Now i am trying to do it through fucntion pointers which are exported so that i can change it in my module. still dont have the exact idea to accomplish the task .

regards

devvrat

[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux