git: mxge(4): Fix "always_inline function might not be inlinable" warning.

Sascha Wildner swildner at crater.dragonflybsd.org
Sat Oct 13 06:42:10 PDT 2012


commit 000087470bfd768d9e429db0707790d5db406bdc
Author: Sascha Wildner <saw at online.de>
Date:   Sat Oct 13 15:36:58 2012 +0200

    mxge(4): Fix "always_inline function might not be inlinable" warning.
    
    The '__attribute__((always_inline))' does not strictly imply 'inline'.
    Newer versions of gcc detect this misuse and issue the warning.
    Including the missing 'inline' resolves the build warning.

Summary of changes:
 sys/dev/netif/mxge/if_mxge.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/000087470bfd768d9e429db0707790d5db406bdc


-- 
DragonFly BSD source repository



More information about the Commits mailing list