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:
@@ -566,7 +566,7 @@ static int manager_receive_response(sd_event_source *source, int fd, uint32_t re
|
||||
m->poll_interval_usec / USEC_PER_SEC);
|
||||
|
||||
/* Get current monotonic/realtime clocks immediately before adjusting the latter */
|
||||
triple_timestamp_get(&dts);
|
||||
triple_timestamp_now(&dts);
|
||||
|
||||
if (!spike) {
|
||||
/* Fix up our idea of the time. */
|
||||
|
||||
Reference in New Issue
Block a user