mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2025-12-16 01:42:39 +00:00
HV: prototyping non-static function
Includes header file of non-static function, and declare the in-file use function static. Signed-off-by: Yang, Yu-chu <yu-chu.yang@intel.com> Acked-by: Anthony Xu <anthony.xu@intel.com>
This commit is contained in:
@@ -364,7 +364,7 @@ size_t strnlen_s(const char *str, size_t maxlen)
|
||||
return count;
|
||||
}
|
||||
|
||||
char hexdigit(int decimal_val)
|
||||
static char hexdigit(int decimal_val)
|
||||
{
|
||||
static const char hexdigits[] = { '0', '1', '2', '3', '4', '5', '6',
|
||||
'7', '8', '9', 'A', 'B', 'C', 'D', 'E', 'F' };
|
||||
|
||||
Reference in New Issue
Block a user