Add an exception for the GLib versions of the macros we already ignore.

Signed-off-by: Ján Tomko <[email protected]>
---
 docs/apibuild.py | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/docs/apibuild.py b/docs/apibuild.py
index 92886e1276..b11d3fd5a9 100755
--- a/docs/apibuild.py
+++ b/docs/apibuild.py
@@ -73,6 +73,8 @@ admin_included_files = {
 ignored_words = {
   "ATTRIBUTE_UNUSED": (0, "macro keyword"),
   "ATTRIBUTE_SENTINEL": (0, "macro keyword"),
+  "G_GNUC_UNUSED": (0, "macro keyword"),
+  "G_GNUC_NULL_TERMINATED": (0, "macro keyword"),
   "VIR_DEPRECATED": (0, "macro keyword"),
   "VIR_EXPORT_VAR": (0, "macro keyword"),
   "WINAPI": (0, "Windows keyword"),
-- 
2.19.2

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

Reply via email to