Make `options NETATALK' compile after the -fno-common changes.
Tested by: Emiel Kollof <coolvibe@hackerheaven.org>
This commit is contained in:
parent
27f1b0eab5
commit
4ce948eb0c
@ -27,8 +27,6 @@ static volatile int ddp_firewall = 0;
|
||||
static struct ddpstat ddpstat;
|
||||
static struct route forwro;
|
||||
|
||||
const int atintrq1_present = 1, atintrq2_present = 1;
|
||||
|
||||
static void ddp_input(struct mbuf *, struct ifnet *, struct elaphdr *, int);
|
||||
|
||||
/*
|
||||
|
@ -14,6 +14,7 @@
|
||||
#include <sys/protosw.h>
|
||||
#include <net/if.h>
|
||||
#include <net/route.h>
|
||||
#include <net/intrq.h>
|
||||
|
||||
#include <netatalk/at.h>
|
||||
#include <netatalk/at_var.h>
|
||||
@ -547,6 +548,8 @@ ddp_init(void )
|
||||
{
|
||||
atintrq1.ifq_maxlen = IFQ_MAXLEN;
|
||||
atintrq2.ifq_maxlen = IFQ_MAXLEN;
|
||||
atintrq1_present = 1;
|
||||
atintrq2_present = 1;
|
||||
mtx_init(&atintrq1.ifq_mtx, "at1_inq", MTX_DEF);
|
||||
mtx_init(&atintrq2.ifq_mtx, "at2_inq", MTX_DEF);
|
||||
}
|
||||
|
@ -14,6 +14,7 @@
|
||||
#include <sys/protosw.h>
|
||||
#include <net/if.h>
|
||||
#include <net/route.h>
|
||||
#include <net/intrq.h>
|
||||
|
||||
#include <netatalk/at.h>
|
||||
#include <netatalk/at_var.h>
|
||||
@ -547,6 +548,8 @@ ddp_init(void )
|
||||
{
|
||||
atintrq1.ifq_maxlen = IFQ_MAXLEN;
|
||||
atintrq2.ifq_maxlen = IFQ_MAXLEN;
|
||||
atintrq1_present = 1;
|
||||
atintrq2_present = 1;
|
||||
mtx_init(&atintrq1.ifq_mtx, "at1_inq", MTX_DEF);
|
||||
mtx_init(&atintrq2.ifq_mtx, "at2_inq", MTX_DEF);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user