DragonFly BSD
DragonFly commits List (threaded) for 2012-10
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

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


From: Sascha Wildner <swildner@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Sat, 13 Oct 2012 06:42:10 -0700 (PDT)

commit 000087470bfd768d9e429db0707790d5db406bdc
Author: Sascha Wildner <saw@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



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