Since the code checks and handles a NULL 'numa' parameter, remove the NONNULL
from the prototype.

Signed-off-by: John Ferlan <[email protected]>
---
 src/conf/numa_conf.h | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/conf/numa_conf.h b/src/conf/numa_conf.h
index 05529ba..b6a5354 100644
--- a/src/conf/numa_conf.h
+++ b/src/conf/numa_conf.h
@@ -85,8 +85,8 @@ int virDomainNumatuneMaybeGetNodeset(virDomainNumaPtr 
numatune,
                                      virBitmapPtr *retNodeset,
                                      int cellid);
 
-size_t virDomainNumaGetNodeCount(virDomainNumaPtr numa)
-    ATTRIBUTE_NONNULL(1);
+size_t virDomainNumaGetNodeCount(virDomainNumaPtr numa);
+
 virBitmapPtr virDomainNumaGetNodeCpumask(virDomainNumaPtr numa,
                                          size_t node)
     ATTRIBUTE_NONNULL(1);
-- 
2.9.3

--
libvir-list mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/libvir-list

Reply via email to