FreeBSD/contrib/bsnmp/snmpd/main.c
/*
 * Remove all nodes belonging to the loadable module
 */
Remove all nodes belonging to the loadable module
Remove all nodes belonging to the loadable module
static void
tree_unmerge(struct lmodule *mod)
{
	u_int s, d;
	for(s = d = 0; s < tree_size; s++)
		if (tree[s].tree_data != mod) {
			if (s != d)
				tree[d] = tree[s];
			d++;
		}
	tree_size = d;
}
static void tree_unmerge ( struct lmodule * mod ) { u_int s , d ; for ( s = d = 0 ; s < tree_size ; s ++ ) if ( tree [ s ] . tree_data != mod ) { if ( s != d ) tree [ d ] = tree [ s ] ; d ++ ; } tree_size = d ; }
Remove all nodes belonging to the loadable module
Remove all nodes belonging to the loadable module