[libvirt PATCH 5/8] util: sync variable names between header and C files

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Signed-off-by: Ján Tomko <jtomko@xxxxxxxxxx>
---
 src/util/virresctrl.h    | 2 +-
 src/util/virsocketaddr.h | 8 ++++----
 2 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/src/util/virresctrl.h b/src/util/virresctrl.h
index dcd9ca2bb2..2f84401dfb 100644
--- a/src/util/virresctrl.h
+++ b/src/util/virresctrl.h
@@ -151,7 +151,7 @@ virResctrlAllocSetMemoryBandwidth(virResctrlAllocPtr alloc,
                                   unsigned int memory_bandwidth);
 
 int
-virResctrlAllocForeachMemory(virResctrlAllocPtr resctrl,
+virResctrlAllocForeachMemory(virResctrlAllocPtr alloc,
                              virResctrlAllocForeachMemoryCallback cb,
                              void *opaque);
 
diff --git a/src/util/virsocketaddr.h b/src/util/virsocketaddr.h
index d06e751f73..6c08f8b35c 100644
--- a/src/util/virsocketaddr.h
+++ b/src/util/virsocketaddr.h
@@ -83,10 +83,10 @@ int virSocketAddrParseIPv6(virSocketAddrPtr addr,
 
 int virSocketAddrResolveService(const char *service);
 
-void virSocketAddrSetIPv4AddrNetOrder(virSocketAddrPtr s, uint32_t addr);
-void virSocketAddrSetIPv4Addr(virSocketAddrPtr s, uint32_t addr);
-void virSocketAddrSetIPv6AddrNetOrder(virSocketAddrPtr s, uint32_t addr[4]);
-void virSocketAddrSetIPv6Addr(virSocketAddrPtr s, uint32_t addr[4]);
+void virSocketAddrSetIPv4AddrNetOrder(virSocketAddrPtr addr, uint32_t val);
+void virSocketAddrSetIPv4Addr(virSocketAddrPtr addr, uint32_t val);
+void virSocketAddrSetIPv6AddrNetOrder(virSocketAddrPtr addr, uint32_t val[4]);
+void virSocketAddrSetIPv6Addr(virSocketAddrPtr addr, uint32_t val[4]);
 
 char *virSocketAddrFormat(const virSocketAddr *addr);
 char *virSocketAddrFormatFull(const virSocketAddr *addr,
-- 
2.26.2




[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]

  Powered by Linux