]> xenbits.xensource.com Git - libvirt.git/commitdiff
util: Remove ATTRIBUTE_NONNULL from virNetDevTapInterfaceStats
authorJohn Ferlan <jferlan@redhat.com>
Sun, 15 Jul 2018 12:39:25 +0000 (08:39 -0400)
committerJohn Ferlan <jferlan@redhat.com>
Mon, 16 Jul 2018 10:57:25 +0000 (06:57 -0400)
Commit id 318d54e520 altered the code to check for a NULL
first parameter, but neglected to alter the prototype.

Signed-off-by: John Ferlan <jferlan@redhat.com>
src/util/virnetdevtap.h

index 727368fe95877502f47d2d7bddcb111d8e8cf73f..37f9367ff43156b30a38de1378053ff3ebde30d3 100644 (file)
@@ -94,6 +94,6 @@ int virNetDevTapCreateInBridgePort(const char *brname,
 int virNetDevTapInterfaceStats(const char *ifname,
                                virDomainInterfaceStatsPtr stats,
                                bool swapped)
-    ATTRIBUTE_NONNULL(1) ATTRIBUTE_RETURN_CHECK;
+    ATTRIBUTE_RETURN_CHECK;
 
 #endif /* __VIR_NETDEV_TAP_H__ */