On 11/15/2011 06:14 AM, Daniel P. Berrange wrote:
Move the ifaceMacvtapLinkDump and ifaceGetNthParent functions
into virnetdevvportprofile.c since they are specific to that
code. This avoids polluting the headers with the Linux specific
netlink data types
* src/util/interface.c, src/util/interface.h: Move
ifaceMacvtapLinkDump and ifaceGetNthParent functions and delete
remaining file
* src/util/virnetdevvportprofile.c: Add ifaceMacvtapLinkDump
and ifaceGetNthParent functions
* src/network/bridge_driver.c, src/nwfilter/nwfilter_gentech_driver.c,
src/nwfilter/nwfilter_learnipaddr.c, src/util/virnetdevmacvlan.c:
Remove include of interface.h
---
po/POTFILES.in | 1 -
src/Makefile.am | 1 -
src/libvirt_private.syms | 2 -
src/network/bridge_driver.c | 1 -
src/nwfilter/nwfilter_gentech_driver.c | 2 +-
src/nwfilter/nwfilter_learnipaddr.c | 1 -
src/util/interface.c | 296 --------------------------------
src/util/interface.h | 41 -----
src/util/virnetdevmacvlan.c | 1 -
src/util/virnetdevvportprofile.c | 199 +++++++++++++++++++++-
10 files changed, 195 insertions(+), 350 deletions(-)
delete mode 100644 src/util/interface.c
delete mode 100644 src/util/interface.h
ACK.