diff options
author | Michal Privoznik <mprivozn@redhat.com> | 2021-09-26 13:18:17 +0200 |
---|---|---|
committer | Michal Privoznik <mprivozn@redhat.com> | 2021-10-06 09:27:03 +0200 |
commit | d39bd3998e7f29b803bddedc35ce50ef208e14b9 (patch) | |
tree | 93d57da806e19cf77e8344fa5e568fe71a702d00 /build-aux | |
parent | 40a3a5b6084c421299943d6ab2bf80bf8bd858a0 (diff) | |
download | libvirt-d39bd3998e7f29b803bddedc35ce50ef208e14b9.tar.gz |
virsh: Add wrapper for virNWFilterFree
Similarly to virshDomainFree add a wrapper for the snapshot object
freeing function.
Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
Acked-by: Jonathon Jongsma <jjongsma@redhat.com>
Diffstat (limited to 'build-aux')
-rw-r--r-- | build-aux/syntax-check.mk | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/build-aux/syntax-check.mk b/build-aux/syntax-check.mk index 6c230826bd..5daf5afcd0 100644 --- a/build-aux/syntax-check.mk +++ b/build-aux/syntax-check.mk @@ -868,7 +868,7 @@ sc_gettext_init: $(_sc_search_regexp) sc_prohibit_obj_free_apis_in_virsh: - @prohibit='\bvir(Domain|DomainSnapshot|Interface|Network|NodeDevice|Secret|StoragePool|StorageVol)Free\b' \ + @prohibit='\bvir(Domain|DomainSnapshot|Interface|Network|NodeDevice|NWFilter|Secret|StoragePool|StorageVol)Free\b' \ in_vc_files='virsh.*\.[ch]$$' \ exclude='sc_prohibit_obj_free_apis_in_virsh' \ halt='avoid using public virXXXFree in virsh, use virsh-prefixed wrappers instead' \ |