]> xenbits.xensource.com Git - people/liuw/libxenctrl-split/libvirt.git/commit
libvirt-domain: Drop virDomainMigrateCheckNotLocal attribute
authorMichal Privoznik <mprivozn@redhat.com>
Mon, 12 Oct 2015 14:37:15 +0000 (16:37 +0200)
committerMichal Privoznik <mprivozn@redhat.com>
Mon, 12 Oct 2015 14:37:15 +0000 (16:37 +0200)
commit179d92c8481b2229edbfb233614328e08ab79dfc
treeb656b4bbd0cf9fd62e55c80eb2a621cbf54e67ef
parent5275c0f4a1267c630b5c3b77fac8cbe4fcaa3adb
libvirt-domain: Drop virDomainMigrateCheckNotLocal attribute

Our apibuild.py script does not cope with ATTRIBUTE_NONNULL:

Parse Error: parsing function type, ')' expected
Got token  ('name', 'char')
Last token:  ('name', 'char')
Token queue:  [('op', '*'), ('name', 'dconnuri'), ('sep', ')')]
Line 3297 end:
Makefile:2441: recipe for target '../../docs/apibuild.py.stamp' failed

Let's drop it. Moreover, up until e17ae3ccc2dbc1400 where it was
introduced we did not really care about NULL-ity of dconnuri. And
moreover the ATTRIBUTE_NONNULL merely checks for static calls
over NULL, it won't catch the dynamic ones, where a NULL is
passed by a variable at runtime.

Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
src/libvirt-domain.c