Re: what is static inline void tvec_base

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

 



On Sat, Aug 28, 2010 at 11:41 AM, James Bond <jamesbond.2k.g@xxxxxxxxx> wrote:
> Hi,
> Stephan thanks a lot for the link.
> I also have a small doubt.Please see if you can resolve
>
> As per my understanding
>
> 1) Defining any function as static tells the compiler that the
> function can only be used in the file the function was defined in
>
Yes.

> 2) inline function is that, even though you can have
> multiple definitions of them across source files, there's only ever one
> instance of their static variables
>
Not true. Think inline function as a common function but with some
special features.

-- 
Thanks & Regards

zeal

--
To unsubscribe from this list: send an email with
"unsubscribe kernelnewbies" to ecartis@xxxxxxxxxxxx
Please read the FAQ at 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