lib: os: exclude z_arch_printk_char_out()

This function doesn't do anything, and only exists so that
it can be overridden later, exclude from coverage reports.

Signed-off-by: Andrew Boie <andrew.p.boie@intel.com>
This commit is contained in:
Andrew Boie 2019-06-28 15:48:54 -07:00 committed by Andrew Boie
commit d045bd7673

View file

@ -46,6 +46,7 @@ static void _printk_hex_ulong(out_func_t out, void *ctx,
*
* @return 0
*/
/* LCOV_EXCL_START */
__attribute__((weak)) int z_arch_printk_char_out(int c)
{
ARG_UNUSED(c);
@ -53,6 +54,7 @@ static void _printk_hex_ulong(out_func_t out, void *ctx,
/* do nothing */
return 0;
}
/* LCOV_EXCL_STOP */
int (*_char_out)(int) = z_arch_printk_char_out;