cmd: update references to fx_btree
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
#include "command.h"
|
||||
|
||||
#include <fx/cmd.h>
|
||||
#include <fx/core/btree.h>
|
||||
#include <fx/core/bst.h>
|
||||
#include <fx/ds/string.h>
|
||||
#include <fx/term/print.h>
|
||||
#include <fx/term/tty.h>
|
||||
@@ -13,8 +13,8 @@
|
||||
|
||||
static struct fx_bst command_list = {0};
|
||||
|
||||
FX_BTREE_DEFINE_SIMPLE_GET(struct fx_command, unsigned int, c_node, c_id, get_command)
|
||||
FX_BTREE_DEFINE_SIMPLE_INSERT(struct fx_command, c_node, c_id, put_command)
|
||||
FX_BST_DEFINE_SIMPLE_GET(struct fx_command, unsigned int, c_node, c_id, get_command)
|
||||
FX_BST_DEFINE_SIMPLE_INSERT(struct fx_command, c_node, c_id, put_command)
|
||||
|
||||
enum item_type {
|
||||
ITEM_OPTION,
|
||||
|
||||
Reference in New Issue
Block a user