cmd: update references to fx_btree

This commit is contained in:
2026-03-16 15:11:45 +00:00
parent e4bacb7360
commit 6b04920d29
4 changed files with 9 additions and 9 deletions

View File

@@ -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,