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:
Yang, Yu-chu
2018-07-12 13:14:13 -07:00
committed by lijinxia
parent 8925eb5647
commit 90b342bd53
18 changed files with 24 additions and 16 deletions

View File

@@ -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' };