git: nvmm: Fix '-Wnested-externs' warning nvmm_x86_vmx.c

Aaron LI aly at crater.dragonflybsd.org
Tue Jul 20 16:30:21 PDT 2021


commit bc657419928ce78a9a884612c71e93f87604eb37
Author: Aaron LI <aly at aaronly.me>
Date:   Sun Jun 6 19:38:17 2021 +0800

    nvmm: Fix '-Wnested-externs' warning nvmm_x86_vmx.c
    
    The 'extern uint8_t vmx_resume_rip' declaration in vmx_vcpu_init()
    causes a 'nested extern declaration'.  Fix it by changing it to a
    function prototype, which is actually an assembly function.

Summary of changes:
 sys/dev/virtual/nvmm/x86/nvmm_x86_vmx.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/bc657419928ce78a9a884612c71e93f87604eb37


-- 
DragonFly BSD source repository



More information about the Commits mailing list