hv: fix "No prototype for non-static function"

The function not used in extern c file, must add static.

Tracked-On: #861
Signed-off-by: Huihuang Shi <huihuang.shi@intel.com>
Acked-by: Eddie Dong <eddie.dong@intel.com>
This commit is contained in:
Huihuang Shi
2018-12-03 14:58:04 +08:00
committed by wenlingz
parent 48b3cd92ed
commit 42e38dfb53
5 changed files with 8 additions and 8 deletions

View File

@@ -710,7 +710,7 @@ reconfig:
/*
* Initialize sep state and enable PMU counters
*/
void profiling_start_pmu(void)
static void profiling_start_pmu(void)
{
uint16_t i;
@@ -751,7 +751,7 @@ void profiling_start_pmu(void)
/*
* Reset sep state and Disable all the PMU counters
*/
void profiling_stop_pmu(void)
static void profiling_stop_pmu(void)
{
uint16_t i;