Skip to content

Commit

Permalink
ovsdb-idlc: Remove "*_get_*" warning from header file.
Browse files Browse the repository at this point in the history
The warning is now captured in the C file, which has documentation for
all the public functions.

Signed-off-by: Justin Pettit <[email protected]>
Acked-by: Ben Pfaff <[email protected]>
  • Loading branch information
Justin Pettit committed Mar 5, 2015
1 parent d797877 commit e8cc1bb
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions ovsdb/ovsdb-idlc.in
Original file line number Diff line number Diff line change
Expand Up @@ -132,10 +132,7 @@ struct %(s)s *%(s)s_insert(struct ovsdb_idl_txn *);
for columnName, column in sorted(table.columns.iteritems()):
print 'void %(s)s_verify_%(c)s(const struct %(s)s *);' % {'s': structName, 'c': columnName}

print """
/* Functions for fetching columns as \"struct ovsdb_datum\"s. (This is
rarely useful. More often, it is easier to access columns by using
the members of %(s)s directly.) */""" % {'s': structName}
print
for columnName, column in sorted(table.columns.iteritems()):
if column.type.value:
valueParam = ', enum ovsdb_atomic_type value_type'
Expand Down

0 comments on commit e8cc1bb

Please sign in to comment.