netlink: Expose version of nl_attr_find for key and len.
[openvswitch] / ovsdb / transaction.h
index 414b358b57d60f1bd60a8fa490b804bcaa85f409..1d03ebdafa762c99ff36de8bc57b280f7143d2eb 100644 (file)
@@ -26,7 +26,8 @@ struct uuid;
 
 struct ovsdb_txn *ovsdb_txn_create(struct ovsdb *);
 void ovsdb_txn_abort(struct ovsdb_txn *);
-struct ovsdb_error *ovsdb_txn_commit(struct ovsdb_txn *, bool durable);
+struct ovsdb_error *ovsdb_txn_commit(struct ovsdb_txn *, bool durable)
+    WARN_UNUSED_RESULT;
 
 struct ovsdb_row *ovsdb_txn_row_modify(struct ovsdb_txn *,
                                        const struct ovsdb_row *);