Skip to content

Commit d7d2b7e

Browse files
committed
right include
1 parent f2ff718 commit d7d2b7e

5 files changed

Lines changed: 13 additions & 13 deletions

File tree

sys/altq/altq_cbq.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -244,7 +244,7 @@ get_class_stats(class_stats_t *statsp, struct rm_class *cl)
244244

245245
#if NNPF > 0
246246
int
247-
cbq_pfattach(struct npf_altq *a)
247+
cbq_npfattach(struct npf_altq *a)
248248
{
249249
struct ifnet *ifp;
250250
int s, error;

sys/altq/altq_hfsc.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -175,7 +175,7 @@ static struct hfsc_if *hif_list = NULL;
175175

176176
#if NNPF > 0
177177
int
178-
hfsc_pfattach(struct npf_altq *a)
178+
hfsc_npfattach(struct npf_altq *a)
179179
{
180180
struct ifnet *ifp;
181181
int s, error;

sys/altq/altq_priq.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ static struct priq_if *pif_list = NULL;
107107

108108
#if NNPF > 0
109109
int
110-
priq_pfattach(struct npf_altq *a)
110+
priq_npfattach(struct npf_altq *a)
111111
{
112112
struct ifnet *ifp;
113113
int s, error;

sys/altq/altq_subr.c

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -406,7 +406,7 @@ tbr_get(struct ifaltq *ifq, struct tb_profile *profile)
406406
* overridden.
407407
*/
408408
int
409-
altq_pfattach(struct npf_altq *a)
409+
altq_npfattach(struct npf_altq *a)
410410
{
411411
int error = 0;
412412

@@ -415,17 +415,17 @@ altq_pfattach(struct npf_altq *a)
415415
break;
416416
#ifdef ALTQ_CBQ
417417
case ALTQT_CBQ:
418-
error = cbq_pfattach(a);
418+
error = cbq_npfattach(a);
419419
break;
420420
#endif
421421
#ifdef ALTQ_PRIQ
422422
case ALTQT_PRIQ:
423-
error = priq_pfattach(a);
423+
error = priq_npfattach(a);
424424
break;
425425
#endif
426426
#ifdef ALTQ_HFSC
427427
case ALTQT_HFSC:
428-
error = hfsc_pfattach(a);
428+
error = hfsc_npfattach(a);
429429
break;
430430
#endif
431431
default:
@@ -441,7 +441,7 @@ altq_pfattach(struct npf_altq *a)
441441
* discipline.
442442
*/
443443
int
444-
altq_pfdetach(struct npf_altq *a)
444+
altq_npfdetach(struct npf_altq *a)
445445
{
446446
struct ifnet *ifp;
447447
int s, error = 0;

sys/altq/altq_var.h

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -227,29 +227,29 @@ void altq_assert(const char *, int, const char *);
227227
int tbr_set(struct ifaltq *, struct tb_profile *);
228228
int tbr_get(struct ifaltq *, struct tb_profile *);
229229

230-
int altq_pfattach(struct npf_altq *);
231-
int altq_pfdetach(struct npf_altq *);
230+
int altq_npfattach(struct npf_altq *);
231+
int altq_npfdetach(struct npf_altq *);
232232
int altq_add(struct npf_altq *);
233233
int altq_remove(struct npf_altq *);
234234
int altq_add_queue(struct npf_altq *);
235235
int altq_remove_queue(struct npf_altq *);
236236
int altq_getqstats(struct npf_altq *, void *, int *);
237237

238-
int cbq_pfattach(struct npf_altq *);
238+
int cbq_npfattach(struct npf_altq *);
239239
int cbq_add_altq(struct npf_altq *);
240240
int cbq_remove_altq(struct npf_altq *);
241241
int cbq_add_queue(struct npf_altq *);
242242
int cbq_remove_queue(struct npf_altq *);
243243
int cbq_getqstats(struct npf_altq *, void *, int *);
244244

245-
int priq_pfattach(struct npf_altq *);
245+
int priq_npfattach(struct npf_altq *);
246246
int priq_add_altq(struct npf_altq *);
247247
int priq_remove_altq(struct npf_altq *);
248248
int priq_add_queue(struct npf_altq *);
249249
int priq_remove_queue(struct npf_altq *);
250250
int priq_getqstats(struct npf_altq *, void *, int *);
251251

252-
int hfsc_pfattach(struct npf_altq *);
252+
int hfsc_npfattach(struct npf_altq *);
253253
int hfsc_add_altq(struct npf_altq *);
254254
int hfsc_remove_altq(struct npf_altq *);
255255
int hfsc_add_queue(struct npf_altq *);

0 commit comments

Comments
 (0)