summaryrefslogtreecommitdiffstats
path: root/sys/netgraph/netgraph.h
diff options
context:
space:
mode:
authorjulian <julian@FreeBSD.org>2005-08-08 20:08:44 +0000
committerjulian <julian@FreeBSD.org>2005-08-08 20:08:44 +0000
commit65c3a00587493225fc55992441c13a31c2f09232 (patch)
treec9210e9cbd32ebf7caf8e18c586f36c2ab2dc40d /sys/netgraph/netgraph.h
parent860259d8d51306412cfc361da7f5c6a1431b03b0 (diff)
downloadFreeBSD-src-65c3a00587493225fc55992441c13a31c2f09232.zip
FreeBSD-src-65c3a00587493225fc55992441c13a31c2f09232.tar.gz
reorder a couple of cases of void __inline to __inline void
to silence warnings from compilig with -W Submitted by: sandvine inc MFC after: 1 week
Diffstat (limited to 'sys/netgraph/netgraph.h')
-rw-r--r--sys/netgraph/netgraph.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/netgraph/netgraph.h b/sys/netgraph/netgraph.h
index dfd5018..d0dc8f5 100644
--- a/sys/netgraph/netgraph.h
+++ b/sys/netgraph/netgraph.h
@@ -175,7 +175,7 @@ static __inline void _ng_hook_force_writer(hook_p hook, char * file,
int line);
static __inline void _ng_hook_force_queue(hook_p hook, char * file, int line);
-static void __inline
+static __inline void
_chkhook(hook_p hook, char *file, int line)
{
if (hook->hk_magic != HK_MAGIC) {
@@ -407,7 +407,7 @@ typedef int ng_fn_eachhook(hook_p hook, void* arg);
#ifdef NETGRAPH_DEBUG /*----------------------------------------------*/
void dumpnode(node_p node, char *file, int line);
-static void __inline _chknode(node_p node, char *file, int line);
+static __inline void _chknode(node_p node, char *file, int line);
static __inline char * _ng_node_name(node_p node, char *file, int line);
static __inline int _ng_node_has_name(node_p node, char *file, int line);
static __inline ng_ID_t _ng_node_id(node_p node, char *file, int line);
@@ -425,7 +425,7 @@ static __inline hook_p _ng_node_foreach_hook(node_p node,
ng_fn_eachhook *fn, void *arg, char *file, int line);
static __inline void _ng_node_revive(node_p node, char *file, int line);
-static void __inline
+static __inline void
_chknode(node_p node, char *file, int line)
{
if (node->nd_magic != ND_MAGIC) {
OpenPOWER on IntegriCloud