On Thu, Mar 19, 2015 at 12:08:39AM -0700, Andy Zhou wrote: > Add ovsdb_monitor_add_jsonrpc_monitor(). This change will allow > ovsdb_monitor to be reference counted. > > Signed-off-by: Andy Zhou <[email protected]>
Acked-by: Ben Pfaff <[email protected]> 'void' should be on a line by its own here: > +void ovsdb_monitor_add_jsonrpc_monitor(struct ovsdb_monitor *dbmon, > + struct ovsdb_jsonrpc_monitor *jsonrpc_monitor) > +{ > + struct jsonrpc_monitor_node *jm; > + > + jm = xzalloc(sizeof *jm); > + jm->jsonrpc_monitor = jsonrpc_monitor; > + list_push_back(&dbmon->jsonrpc_monitors, &jm->node); > +} _______________________________________________ dev mailing list [email protected] http://openvswitch.org/mailman/listinfo/dev
