3c2d0f37a3
MISRA-C Rule 5.3 states that identifiers in inner scope should not hide identifiers in outer scope. The log output instances all named "log_output" in backends collide with the "log_output" parameter of various functions. This renames the variables in the backends to make them more descriptive. Same goes for the buffers for some of these instances as they are all named "buf", and "hostname" being used in the network backend, so they are renamed. There are a few places where variables are overriden within an inner scope (e.g. inside loop and if block) so they are also renamed. Signed-off-by: Daniel Leung <daniel.leung@intel.com> |
||
---|---|---|
.. | ||
CMakeLists.txt | ||
Kconfig | ||
Kconfig.template.log_config | ||
log_backend_native_posix.c | ||
log_backend_net.c | ||
log_backend_rb.c | ||
log_backend_rtt.c | ||
log_backend_spinel.c | ||
log_backend_std.h | ||
log_backend_swo.c | ||
log_backend_uart.c | ||
log_backend_xtensa_sim.c | ||
log_cmds.c | ||
log_core.c | ||
log_list.c | ||
log_list.h | ||
log_minimal.c | ||
log_msg.c | ||
log_output.c | ||
log_output_syst.c |