On Thu, Feb 26, 2015 at 15:17:16 +0100, Michal Privoznik wrote:
Instead of copying the whole object onto stack when calling the
function, just pass the pointer to the object and save up some
space on the stack. Moreover, this prepares the code to hide the
virNetworkObjList structure into network_conf.c and use accessors
only.
Signed-off-by: Michal Privoznik <mprivozn(a)redhat.com>
---
src/conf/network_conf.c | 8 ++++----
src/conf/network_conf.h | 2 +-
src/network/bridge_driver.c | 2 +-
src/parallels/parallels_network.c | 2 +-
src/test/test_driver.c | 2 +-
5 files changed, 8 insertions(+), 8 deletions(-)
ACK,
Peter