FreeBSD/sys/ddb/db_command.c
/*
 * Remove a command previously registered with db_command_register.
 */
Remove a command previously registered with db_command_register.
Remove a command previously registered with db_command_register .
void
db_command_unregister(struct command_table *list, struct command *cmd)
{
	struct command *c;
	LIST_FOREACH(c, list, next) {
		if (cmd == c) {
			LIST_REMOVE(cmd, next);
			return;
		}
	}
}
void db_command_unregister ( struct command_table * list , struct command * cmd ) { struct command * c ; LIST_FOREACH ( c , list , next ) { if ( cmd == c ) { LIST_REMOVE ( cmd , next ) ; return ; } } }
Remove a command previously registered with db_command_register.
Remove a command previously registered with db_command_register .
/* NB: intentionally quiet */