extern functions

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

 



Extern variables are understandable. But what are these extern functions? By default, functions declared in one source file are visible in another file when these two files are compiled together (this is what ANSI C says). But at many places in linux source, I see functions declared with an extern keyword. Does it carry any significance(to the compiler)? or probably it is just a mechanism to tell the user reading the file that particular function is defined in some other file, so don't waste time looking for the function definition in this file?  
--

___________________________________________________________
Sign-up for Ads Free at Mail.com
http://www.mail.com/?sr=signup

-- Kernelnewbies: Help each other learn about the Linux kernel. Archive: http://mail.nl.linux.org/kernelnewbies/ FAQ: http://kernelnewbies.org/faq/

[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