X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=ovsdb%2Ftransaction.h;h=1d03ebdafa762c99ff36de8bc57b280f7143d2eb;hb=3349f3bf9533a6df47d05f2664db03d69fc3e985;hp=414b358b57d60f1bd60a8fa490b804bcaa85f409;hpb=5f55c39b21e69025045437ffbd3bb98fe6ce2e89;p=sliver-openvswitch.git diff --git a/ovsdb/transaction.h b/ovsdb/transaction.h index 414b358b5..1d03ebdaf 100644 --- a/ovsdb/transaction.h +++ b/ovsdb/transaction.h @@ -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 *);