You'll need to enable compiler optimization (even the most basic level) for inlining to possibly take place.
By the way, unless you have any special need for a non inlined copy of the function, you can drop the extern re-declaration, and just use the inlined declaration included in the header file.