Re: [PATCH 2/4] xen/common: time: Fix MISRA C 2012 Rule 8.7 violation

2022-07-05 Thread Julien Grall
Hi Xenia, On 05/07/2022 22:02, Xenia Ragiadakou wrote: The variable __mon_lengths is referenced only in time.c. Change its linkage from external to internal by adding the storage-class specifier static to its definitions. Also, this patch resolves indirectly a MISRA C 2012 Rule 8.4 violation wa

[PATCH 2/4] xen/common: time: Fix MISRA C 2012 Rule 8.7 violation

2022-07-05 Thread Xenia Ragiadakou
The variable __mon_lengths is referenced only in time.c. Change its linkage from external to internal by adding the storage-class specifier static to its definitions. Also, this patch resolves indirectly a MISRA C 2012 Rule 8.4 violation warning. Signed-off-by: Xenia Ragiadakou --- xen/common/t