mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-10 09:42:26 +00:00
Fixed a sloppy common-style declaration.
natm_pcb.c: Include <sys/socketvar.h> which will be used when M_PCB is declared in the right place.
This commit is contained in:
parent
c5a1016bf4
commit
b1c3237adf
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=31885
@ -113,7 +113,7 @@ LIST_HEAD(npcblist, natmpcb);
|
||||
|
||||
/* global data structures */
|
||||
|
||||
struct npcblist natm_pcbs; /* global list of pcbs */
|
||||
extern struct npcblist natm_pcbs; /* global list of pcbs */
|
||||
extern struct ifqueue natmintrq; /* natm packet input queue */
|
||||
#define NATM_STAT
|
||||
#ifdef NATM_STAT
|
||||
|
@ -41,6 +41,7 @@
|
||||
#include <sys/systm.h>
|
||||
#include <sys/malloc.h>
|
||||
#include <sys/socket.h>
|
||||
#include <sys/socketvar.h>
|
||||
|
||||
#include <net/if.h>
|
||||
|
||||
@ -48,6 +49,8 @@
|
||||
|
||||
#include <netnatm/natm.h>
|
||||
|
||||
struct npcblist natm_pcbs;
|
||||
|
||||
/*
|
||||
* npcb_alloc: allocate a npcb [in the free state]
|
||||
*/
|
||||
|
Loading…
Reference in New Issue
Block a user