if_detach(): Fix unoptimized compilation without ALTQ in the config.
authorSascha Wildner <saw@online.de>
Thu, 1 Jul 2010 16:51:26 +0000 (18:51 +0200)
committerSascha Wildner <saw@online.de>
Thu, 1 Jul 2010 16:57:36 +0000 (18:57 +0200)
commit5b1156d4fb1b5437130abc4df0f8d7cb0e013683
tree60d7a88c4880056927accfdbc64dc0c1200f9a35
parent470619ef06f6107dd95140ae58c31c86869e563e
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).
sys/net/if.c