git: if_detach(): Fix unoptimized compilation without ALTQ in the config.

Sascha Wildner swildner at crater.dragonflybsd.org
Thu Jul 1 09:59:21 PDT 2010


commit 5b1156d4fb1b5437130abc4df0f8d7cb0e013683
Author: Sascha Wildner <saw at online.de>
Date:   Thu Jul 1 18:51:26 2010 +0200

    if_detach(): Fix unoptimized compilation without ALTQ in the config.
    
    altq_disable() and altq_detach() aren't available until ALTQ is configured
    and compilation with -O0 failed linking.
    
    $deity knows why this worked when building optimized (our default).

Summary of changes:
 sys/net/if.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/5b1156d4fb1b5437130abc4df0f8d7cb0e013683


-- 
DragonFly BSD source repository





More information about the Commits mailing list