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

@@ -403,7 +403,7 @@ int64_t hcall_notify_req_finish(uint64_t vmid, uint64_t vcpu_id)
return 0;
}
int64_t _set_vm_memmap(struct vm *vm, struct vm *target_vm,
static int64_t _set_vm_memmap(struct vm *vm, struct vm *target_vm,
struct vm_set_memmap *memmap)
{
uint64_t hpa, base_paddr;