ovsdb-idlc: Remove "*_get_*" warning from header file.
authorJustin Pettit <jpettit@nicira.com>
Wed, 4 Mar 2015 07:45:18 +0000 (23:45 -0800)
committerJustin Pettit <jpettit@nicira.com>
Thu, 5 Mar 2015 06:23:44 +0000 (22:23 -0800)
The warning is now captured in the C file, which has documentation for
all the public functions.

Signed-off-by: Justin Pettit <jpettit@nicira.com>
Acked-by: Ben Pfaff <blp@nicira.com>
ovsdb/ovsdb-idlc.in

index 4ef4f22..1b7064c 100755 (executable)
@@ -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'