i9e_complete_option(opts, ci, cr);
}
-I9E_DUMMY_COMPLETER(SUPERCOMMAND_UNAVAILABLE);
static struct i9e_completer audiod_completers[] = {
#define LSG_AUDIOD_CMD_CMD(_name) {.name = #_name, \
.completer = _name ## _completer}
return 1;
}
-I9E_DUMMY_COMPLETER(SUPERCOMMAND_UNAVAILABLE);
static struct i9e_completer completers[] = {
#define LSG_SERVER_CMD_CMD(_name) {.name = #_name, \
.completer = _name ## _completer}
*
* \param name Determines the name of the function to be defined.
*/
-#define I9E_DUMMY_COMPLETER(name) void name ## _completer( \
+#define I9E_DUMMY_COMPLETER(name) static void name ## _completer( \
__a_unused struct i9e_completion_info *ciname, \
struct i9e_completion_result *result) {result->matches = NULL;}
result->matches = i9e_complete_commands(ci->word, pp_completers);
}
-I9E_DUMMY_COMPLETER(SUPERCOMMAND_UNAVAILABLE);
static struct i9e_completer pp_completers[] = {
#define LSG_PLAY_CMD_CMD(_name) {.name = #_name, \
.completer = _name ## _completer}