logging: Prefix internal functions with z_
There are 2 function in log_internal that were not prefixed. Signed-off-by: Krzysztof Chruscinski <krzysztof.chruscinski@nordicsemi.no>
This commit is contained in:
parent
03165c914b
commit
abf8c741e4
5 changed files with 23 additions and 23 deletions
|
@ -93,7 +93,7 @@ static int log_status(const struct shell *shell,
|
|||
const struct log_backend *backend,
|
||||
size_t argc, char **argv)
|
||||
{
|
||||
uint32_t modules_cnt = log_sources_count();
|
||||
uint32_t modules_cnt = z_log_sources_count();
|
||||
uint32_t dynamic_lvl;
|
||||
uint32_t compiled_lvl;
|
||||
|
||||
|
@ -141,7 +141,7 @@ static int cmd_log_backend_status(const struct shell *shell,
|
|||
|
||||
static int module_id_get(const char *name)
|
||||
{
|
||||
uint32_t modules_cnt = log_sources_count();
|
||||
uint32_t modules_cnt = z_log_sources_count();
|
||||
const char *tmp_name;
|
||||
uint32_t i;
|
||||
|
||||
|
@ -162,7 +162,7 @@ static void filters_set(const struct shell *shell,
|
|||
int i;
|
||||
int id;
|
||||
bool all = argc ? false : true;
|
||||
int cnt = all ? log_sources_count() : argc;
|
||||
int cnt = all ? z_log_sources_count() : argc;
|
||||
|
||||
if (!backend->cb->active) {
|
||||
shell_warn(shell, "Backend not active.");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue