X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=ovsdb%2Ftransaction.h;h=1d03ebdafa762c99ff36de8bc57b280f7143d2eb;hb=eb3e79c09d3f9fa5507d866b62d93eb09e93d4f3;hp=414b358b57d60f1bd60a8fa490b804bcaa85f409;hpb=17d18afbfd65619e830d551cb002441519cde059;p=openvswitch diff --git a/ovsdb/transaction.h b/ovsdb/transaction.h index 414b358b..1d03ebda 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 *);