mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2025-09-24 10:17:28 +00:00
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:
@@ -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;
|
||||
|
||||
|
Reference in New Issue
Block a user