]> git.ipfire.org Git - thirdparty/libvirt.git/commitdiff
util: openvswitch: unexport InterfaceClear{Rx,Tx}Qos
authorJán Tomko <jtomko@redhat.com>
Mon, 17 Jan 2022 15:39:20 +0000 (16:39 +0100)
committerJán Tomko <jtomko@redhat.com>
Tue, 18 Jan 2022 16:48:32 +0000 (17:48 +0100)
This also removes the indentation error.

Signed-off-by: Ján Tomko <jtomko@redhat.com>
Reviewed-by: Michal Privoznik <mprivozn@redhat.com>
src/libvirt_private.syms
src/util/virnetdevopenvswitch.c
src/util/virnetdevopenvswitch.h

index 2b4a44d69687e6103c14f5c487a4f2b530d3c9b6..48235c34617042692108f654d02891f5314774bf 100644 (file)
@@ -2824,8 +2824,6 @@ virNetDevOpenvswitchAddPort;
 virNetDevOpenvswitchGetMigrateData;
 virNetDevOpenvswitchGetVhostuserIfname;
 virNetDevOpenvswitchInterfaceClearQos;
-virNetDevOpenvswitchInterfaceClearRxQos;
-virNetDevOpenvswitchInterfaceClearTxQos;
 virNetDevOpenvswitchInterfaceGetMaster;
 virNetDevOpenvswitchInterfaceParseStats;
 virNetDevOpenvswitchInterfaceSetQos;
index 5db4a397f4fcbdecbbe3bd72418dd730963752e2..b2cc2f36be0c210a24169353f8a806eaa04752ae 100644 (file)
@@ -637,7 +637,7 @@ virNetDevOpenvswitchFindUUID(const char *table,
     return uuid;
 }
 
-int
+static int
 virNetDevOpenvswitchInterfaceClearTxQos(const char *ifname,
                                         const unsigned char *vmuuid)
 {
@@ -716,7 +716,7 @@ virNetDevOpenvswitchInterfaceClearTxQos(const char *ifname,
     return ret;
 }
 
-int
+static int
 virNetDevOpenvswitchInterfaceClearRxQos(const char *ifname)
 {
     g_autoptr(virCommand) cmd = NULL;
index e275af59dff377507727c89c70cba6740423ac74..b16c8fe318296f99680e872ccdb89a459b9d2569 100644 (file)
@@ -80,10 +80,3 @@ int virNetDevOpenvswitchInterfaceSetQos(const char *ifname,
 int virNetDevOpenvswitchInterfaceClearQos(const char *ifname,
                                           const unsigned char *vmuuid)
     ATTRIBUTE_NONNULL(1) ATTRIBUTE_NONNULL(2) G_GNUC_WARN_UNUSED_RESULT;
-
-int virNetDevOpenvswitchInterfaceClearRxQos(const char *ifname)
-ATTRIBUTE_NONNULL(1) G_GNUC_WARN_UNUSED_RESULT;
-
-int virNetDevOpenvswitchInterfaceClearTxQos(const char *ifname,
-                                                    const unsigned char *vmid)
-ATTRIBUTE_NONNULL(1) ATTRIBUTE_NONNULL(2) G_GNUC_WARN_UNUSED_RESULT;