From c9248e4fe6aeefab722c5da1b16cc736a9dbb8f8 Mon Sep 17 00:00:00 2001 From: Donat Zenichev Date: Mon, 1 Jun 2026 17:56:23 +0200 Subject: [PATCH] MT#61856 control_ng: leave some TODOers For the following arrays: - `ng_command_strings` - `ng_command_strings_esc` - `ng_command_strings_short` Because there are still external users of them, which should be reworked in the future to use the `ng_command_defs` instead. Change-Id: I4086513e295b00cc23ee035b004e896a83294bf9 --- daemon/control_ng.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/daemon/control_ng.c b/daemon/control_ng.c index c360b7a24..cec41ab11 100644 --- a/daemon/control_ng.c +++ b/daemon/control_ng.c @@ -76,6 +76,10 @@ static const struct ng_command_def *ng_command_find(const str *cmd) { return NULL; } +/** + * Compatibility arrays used outside control_ng. + * Keep generated from NG_COMMANDS until callers are migrated to a helper API. + */ const char *ng_command_strings[OP_COUNT] = { #define X(op, name, esc, short_name, handler) [op] = name, #define XA(op, name, esc, short_name, handler) [op] = name,