The last caller was removed when the tasks server subcommand was disabled
eight years ago.
Fixes: bb91597b9ecf650a63a40753f7f7c771576d252e
struct task *task;
};
-/**
- * Return the list of tasks for the server process.
- *
- * This is called from \a com_tasks(). The helper is necessary since command
- * handlers can not access the scheduler structure directly.
- *
- * \return A dynamically allocated string that must be freed by the caller.
- */
-char *server_get_tasks(void)
-{
- return get_task_list(&sched);
-}
-
static void pre_log_hook(void)
{
mutex_lock(log_mutex);
int handle_connect(int fd);
void parse_config_or_die(bool reload);
-char *server_get_tasks(void);
bool process_is_command_handler(void);
void free_lpr(void);