Rename {dual,triple}_timestamp_get to {dual,triple}_timestamp_now
Those functions take a pointer to a timestamp and return a timestamp pointer, so the reader would be justified to think that those are just getters. Rename them to avoid confusion.
This commit is contained in:
@@ -15,7 +15,7 @@ int boot_timestamps(const dual_timestamp *n, dual_timestamp *firmware, dual_time
|
||||
assert(loader);
|
||||
|
||||
if (!n) {
|
||||
dual_timestamp_get(&_n);
|
||||
dual_timestamp_now(&_n);
|
||||
n = &_n;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user