]> git.ipfire.org Git - thirdparty/libvirt.git/commit
virDomainHostdev{Insert,Delete}: Replace VIR_REALLOC_N by VIR_{APPEND,DELETE}_ELEMENT
authorMatthieu Coudron <mattator@gmail.com>
Thu, 6 Feb 2014 14:29:08 +0000 (15:29 +0100)
committerMichal Privoznik <mprivozn@redhat.com>
Thu, 6 Feb 2014 16:10:26 +0000 (17:10 +0100)
commit8fc98ac8cfbd092bf8142a0063031d69584caf9b
treea38579089ed86848bcb12e85879f8cba06a7947c
parentc5d09fbdd1649fe2430bf92c75e9dc4f9289e02f
virDomainHostdev{Insert,Delete}: Replace VIR_REALLOC_N by VIR_{APPEND,DELETE}_ELEMENT

With this change the code gets shorter and more readable.

Signed-off-by: Matthieu Coudron <mattator@gmail.com>
src/conf/domain_conf.c