aboutsummaryrefslogtreecommitdiff
path: root/ovsdb/ovsdb-idlc.in
diff options
context:
space:
mode:
authorBen Pfaff <blp@nicira.com>2010-01-27 13:04:56 -0800
committerBen Pfaff <blp@nicira.com>2010-01-27 13:51:52 -0800
commit9e336f491038f440dc846c172daeea0d0a77b20c (patch)
treed1d11d1aa77bbdad94a8108436e86f060393eb9d /ovsdb/ovsdb-idlc.in
parent557e37183de13d82888291b041c93cdd8b6e91f3 (diff)
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.
Diffstat (limited to 'ovsdb/ovsdb-idlc.in')
-rwxr-xr-xovsdb/ovsdb-idlc.in3
1 files changed, 1 insertions, 2 deletions
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_);
}