[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

[libvirt] [PATCH v3 11/28] cpu_x86: Make virCPUx86DataClear static



Signed-off-by: Jiri Denemark <jdenemar redhat com>
---

Notes:
    Version 3:
    - ACKed in v2
    - no change
    
    Version 2:
    - no change

 src/cpu/cpu_x86.c        | 2 +-
 src/cpu/cpu_x86.h        | 2 --
 src/libvirt_private.syms | 1 -
 3 files changed, 1 insertion(+), 4 deletions(-)

diff --git a/src/cpu/cpu_x86.c b/src/cpu/cpu_x86.c
index ccd68b681..0058abef7 100644
--- a/src/cpu/cpu_x86.c
+++ b/src/cpu/cpu_x86.c
@@ -293,7 +293,7 @@ x86DataCpuid(const virCPUx86Data *data,
     return NULL;
 }
 
-void
+static void
 virCPUx86DataClear(virCPUx86Data *data)
 {
     if (!data)
diff --git a/src/cpu/cpu_x86.h b/src/cpu/cpu_x86.h
index 8c8c6ed4f..bcda0da95 100644
--- a/src/cpu/cpu_x86.h
+++ b/src/cpu/cpu_x86.h
@@ -32,6 +32,4 @@ extern struct cpuArchDriver cpuDriverX86;
 int virCPUx86DataAddCPUID(virCPUx86Data *data,
                           const virCPUx86CPUID *cpuid);
 
-void virCPUx86DataClear(virCPUx86Data *data);
-
 #endif /* __VIR_CPU_X86_H__ */
diff --git a/src/libvirt_private.syms b/src/libvirt_private.syms
index 2005569aa..67a17c35f 100644
--- a/src/libvirt_private.syms
+++ b/src/libvirt_private.syms
@@ -1003,7 +1003,6 @@ virCPUUpdate;
 
 # cpu/cpu_x86.h
 virCPUx86DataAddCPUID;
-virCPUx86DataClear;
 
 
 # datatypes.h
-- 
2.11.1


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]