KernelNewbies
  • Comments
  • Immutable Page
  • Menu
    • Navigation
    • RecentChanges
    • FindPage
    • Local Site Map
    • Help
    • HelpContents
    • HelpOnMoinWikiSyntax
    • Display
    • Attachments
    • Info
    • Raw Text
    • Print View
    • Edit
    • Load
    • Save
  • Login

Kernel Hacking

  • Frontpage

  • Kernel Hacking

  • Kernel Documentation

  • Kernel Glossary

  • FAQ

  • Found a bug?

  • Kernel Changelog

  • Upstream Merge Guide

Projects

  • KernelJanitors

  • KernelMentors

  • KernelProjects

Community

  • Why a community?

  • Regional Kernelnewbies

  • Personal Pages

  • Upcoming Events

References

  • Mailing Lists

  • Related Sites

  • Programming Links

Wiki

  • Recent Changes

  • Site Editors

  • Side Bar

  • Tips for Editors

  • Hosted by WikiWall

Navigation

  • RecentChanges
  • FindPage
  • HelpContents
Revision 3 as of 2006-04-18 22:16:55
KernelNewbies:
  • FAQ
  • ExternAndStaticInlineVariable

== What's the difference between extern and static inline ? ==

Title 2

Let Linus explain :

  • - "static inline" means "we have to have this function, if you use it
    • but don't inline it, then make a static version of it in this compilation unit"
    - "extern inline" means "I actually _have_ an extern for this function,
    • but if you want to inline it, here's the inline-version"

But also see Inline Functions in C.

  • MoinMoin Powered
  • Python Powered
  • GPL licensed
  • Valid HTML 4.01