summaryrefslogtreecommitdiff
path: root/lib/ovsdb-data.h
diff options
context:
space:
mode:
authorJoe Stringer <joe@ovn.org>2017-08-11 11:06:47 -0700
committerJoe Stringer <joe@ovn.org>2017-08-15 14:09:51 -0700
commit4e0b4acca2ab294a07836684d0726187b3cf7174 (patch)
tree3e051f92d7bace50b3ac3e90ad6cc63b6065ee39 /lib/ovsdb-data.h
parentfa50ab0bfbbb63e37813c33613b8c61536314253 (diff)
downloadopenvswitch-4e0b4acca2ab294a07836684d0726187b3cf7174.tar.gz
ovsdb-idl: Rename 'old' to 'old_datum'.
Now that the 'new' datum is named 'new_datum', be more consistent by renaming 'old' to 'old_datum' to match. Signed-off-by: Joe Stringer <joe@ovn.org> Acked-by: Ben Pfaff <blp@ovn.org>
Diffstat (limited to 'lib/ovsdb-data.h')
-rw-r--r--lib/ovsdb-data.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/ovsdb-data.h b/lib/ovsdb-data.h
index 756219e9f..72c8fe35b 100644
--- a/lib/ovsdb-data.h
+++ b/lib/ovsdb-data.h
@@ -221,12 +221,12 @@ void ovsdb_datum_subtract(struct ovsdb_datum *a,
/* Generate and apply diffs */
void ovsdb_datum_diff(struct ovsdb_datum *diff,
- const struct ovsdb_datum *old,
+ const struct ovsdb_datum *old_datum,
const struct ovsdb_datum *new_datum,
const struct ovsdb_type *type);
struct ovsdb_error *ovsdb_datum_apply_diff(struct ovsdb_datum *new_datum,
- const struct ovsdb_datum *old,
+ const struct ovsdb_datum *old_datum,
const struct ovsdb_datum *diff,
const struct ovsdb_type *type)
OVS_WARN_UNUSED_RESULT;