svn commit: r223761 - head/sys/netgraph
Gleb Smirnoff
glebius at FreeBSD.org
Mon Jul 4 13:55:56 UTC 2011
Author: glebius
Date: Mon Jul 4 13:55:55 2011
New Revision: 223761
URL: http://svn.freebsd.org/changeset/base/223761
Log:
Fix build with NETGRAPH_DEBUG.
Modified:
head/sys/netgraph/netgraph.h
Modified: head/sys/netgraph/netgraph.h
==============================================================================
--- head/sys/netgraph/netgraph.h Mon Jul 4 12:19:09 2011 (r223760)
+++ head/sys/netgraph/netgraph.h Mon Jul 4 13:55:55 2011 (r223761)
@@ -493,11 +493,11 @@ _ng_node_ref(node_p node, char *file, in
_NG_NODE_REF(node);
}
-static __inline int
+static __inline void
_ng_node_unref(node_p node, char *file, int line)
{
_chknode(node, file, line);
- return (_NG_NODE_UNREF(node));
+ _NG_NODE_UNREF(node);
}
static __inline void
More information about the svn-src-all
mailing list