X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=ovsdb%2Fcolumn.c;h=dc93dc71b7fdcb9b6bdf187c15b8b6480ea8e165;hb=c3e3d2a1e72f2fec8580e7974f809846788bc8ff;hp=fc21cdc981deb4876bf772d7c2daa280a4d52402;hpb=a8425c53c5785856cabe80295f0cea0135febdb6;p=openvswitch diff --git a/ovsdb/column.c b/ovsdb/column.c index fc21cdc9..dc93dc71 100644 --- a/ovsdb/column.c +++ b/ovsdb/column.c @@ -31,16 +31,16 @@ ovsdb_column_create(const char *name, const char *comment, bool mutable, bool persistent, const struct ovsdb_type *type) { - struct ovsdb_column *ts; + struct ovsdb_column *column; - ts = xzalloc(sizeof *ts); - ts->name = xstrdup(name); - ts->comment = comment ? xstrdup(comment) : NULL; - ts->mutable = mutable; - ts->persistent = persistent; - ts->type = *type; + column = xzalloc(sizeof *column); + column->name = xstrdup(name); + column->comment = comment ? xstrdup(comment) : NULL; + column->mutable = mutable; + column->persistent = persistent; + column->type = *type; - return ts; + return column; } void