]> xenbits.xensource.com Git - libvirt.git/commitdiff
network: Remove extraneous ATTRIBUTE_NONNULL
authorJohn Ferlan <jferlan@redhat.com>
Tue, 5 Apr 2016 09:43:47 +0000 (05:43 -0400)
committerJohn Ferlan <jferlan@redhat.com>
Tue, 5 Apr 2016 09:43:47 +0000 (05:43 -0400)
Commit id '3992ff14' added the prototype for networkGetActualType
with 1 parameter, but added 2 ATTRIBUTE_NONNULL's (assume from a
cut-n-paste), just remove (2).

src/network/bridge_driver.h

index f0cac5d52835ec99721ad1532e40292974c93657..ff7f921edf21f2c63ed3cd5ede0fc993d899a4a6 100644 (file)
@@ -48,7 +48,7 @@ int networkGetNetworkAddress(const char *netname, char **netaddr)
     ATTRIBUTE_NONNULL(1) ATTRIBUTE_NONNULL(2);
 
 int networkGetActualType(virDomainNetDefPtr iface)
-    ATTRIBUTE_NONNULL(1) ATTRIBUTE_NONNULL(2);
+    ATTRIBUTE_NONNULL(1);
 
 int networkDnsmasqConfContents(virNetworkObjPtr network,
                         const char *pidfile,