This function will be used in virnumamock, shortly.
Signed-off-by: Michal Privoznik <mprivozn(a)redhat.com>
---
src/libvirt_private.syms | 1 +
src/util/virnuma.h | 2 +-
2 files changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/libvirt_private.syms b/src/libvirt_private.syms
index 1df4b8cfe8..b7bbe46dc7 100644
--- a/src/libvirt_private.syms
+++ b/src/libvirt_private.syms
@@ -2872,6 +2872,7 @@ virNodeSuspendGetTargetMask;
virNumaGetAutoPlacementAdvice;
virNumaGetDistances;
virNumaGetHostMemoryNodeset;
+virNumaGetMaxCPUs;
virNumaGetMaxNode;
virNumaGetNodeCPUs;
virNumaGetNodeMemory;
diff --git a/src/util/virnuma.h b/src/util/virnuma.h
index 45342ecf11..bc79bff891 100644
--- a/src/util/virnuma.h
+++ b/src/util/virnuma.h
@@ -43,7 +43,7 @@ int virNumaGetNodeMemory(int node,
unsigned long long *memsize,
unsigned long long *memfree) G_GNUC_NO_INLINE;
-unsigned int virNumaGetMaxCPUs(void);
+unsigned int virNumaGetMaxCPUs(void) G_GNUC_NO_INLINE;
int virNumaGetNodeCPUs(int node, virBitmap **cpus) G_GNUC_NO_INLINE;
int virNumaNodesetToCPUset(virBitmap *nodeset,
--
2.26.3