From 9e336f491038f440dc846c172daeea0d0a77b20c Mon Sep 17 00:00:00 2001 From: Ben Pfaff Date: Wed, 27 Jan 2010 13:04:56 -0800 Subject: ovsdb-idl: Export ovsdb_idl_txn_delete() and ovsdb_idl_txn_insert(). ovs-vsctl wants to use these functions directly, so make them available through the ovsdb-idl public header instead of only through the private one. Also, change the prototypes to make them usable without casts. --- ovsdb/ovsdb-idlc.in | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'ovsdb/ovsdb-idlc.in') diff --git a/ovsdb/ovsdb-idlc.in b/ovsdb/ovsdb-idlc.in index 78a65462..24387b87 100755 --- a/ovsdb/ovsdb-idlc.in +++ b/ovsdb/ovsdb-idlc.in @@ -524,9 +524,8 @@ const struct %(s)s * print ''' void -%(s)s_delete(const struct %(s)s *row_) +%(s)s_delete(const struct %(s)s *row) { - struct %(s)s *row = (struct %(s)s *) row_; ovsdb_idl_txn_delete(&row->header_); } -- cgit v1.2.3