aboutsummaryrefslogtreecommitdiff
path: root/sys/netgraph/netgraph.h
diff options
context:
space:
mode:
authorMateusz Guzik <mjg@FreeBSD.org>2020-09-01 21:19:14 +0000
committerMateusz Guzik <mjg@FreeBSD.org>2020-09-01 21:19:14 +0000
commit662c13053f4bf2d6245ba7e2b66c10d1cd5c1fb9 (patch)
tree5cffe4473640975abc443ef4b8047b34cdb4a039 /sys/netgraph/netgraph.h
parent586ee69f09c5060621486b34722a4a806581f93d (diff)
Notes
Diffstat (limited to 'sys/netgraph/netgraph.h')
-rw-r--r--sys/netgraph/netgraph.h6
1 files changed, 1 insertions, 5 deletions
diff --git a/sys/netgraph/netgraph.h b/sys/netgraph/netgraph.h
index c7b0e67902cf..7535472dc631 100644
--- a/sys/netgraph/netgraph.h
+++ b/sys/netgraph/netgraph.h
@@ -77,7 +77,6 @@
#define NG_ABI_VERSION _NG_ABI_VERSION
#endif /* NETGRAPH_DEBUG */ /*----------------------------------------------*/
-
/*
* Forward references for the basic structures so we can
* define the typedefs and use them in the structures themselves.
@@ -303,7 +302,6 @@ _ng_hook_hi_stack(hook_p hook, char * file, int line)
_NG_HOOK_HI_STACK(hook);
}
-
#define NG_HOOK_REF(hook) _ng_hook_ref(hook, _NN_)
#define NG_HOOK_NAME(hook) _ng_hook_name(hook, _NN_)
#define NG_HOOK_UNREF(hook) _ng_hook_unref(hook, _NN_)
@@ -873,7 +871,7 @@ _ngi_hook(item_p item, char *file, int line)
#define NGI_QUEUED_READER(i) ((i)->el_flags & NGQF_QREADER)
#define NGI_QUEUED_WRITER(i) (((i)->el_flags & NGQF_QMODE) == NGQF_QWRITER)
-
+
/**********************************************************************
* Data macros. Send, manipulate and free.
**********************************************************************/
@@ -1033,7 +1031,6 @@ _ngi_hook(item_p item, char *file, int line)
(item) = NULL; \
} while (0)
-
/***********************************************************************
******** Structures Definitions and Macros for defining a node *******
***********************************************************************
@@ -1070,7 +1067,6 @@ struct ng_cmdlist {
* for other reasons (e.g. device output queuing).
*/
struct ng_type {
-
u_int32_t version; /* must equal NG_API_VERSION */
const char *name; /* Unique type name */
modeventhand_t mod_event; /* Module event handler (optional) */