Place pf_altq_get_nth_active() under the ALTQ ifdef

MFC after:	1 week
This commit is contained in:
Patrick Kelsey 2019-02-11 05:39:38 +00:00
parent 8f2ac65690
commit d178fee632

View file

@ -1360,7 +1360,6 @@ pf_import_kaltq(struct pfioc_altq_v1 *pa, struct pf_altq *q, size_t ioc_size)
return (0);
}
#endif /* ALTQ */
static struct pf_altq *
pf_altq_get_nth_active(u_int32_t n)
@ -1383,6 +1382,7 @@ pf_altq_get_nth_active(u_int32_t n)
return (NULL);
}
#endif /* ALTQ */
static int
pfioctl(struct cdev *dev, u_long cmd, caddr_t addr, int flags, struct thread *td)