summaryrefslogtreecommitdiff
path: root/testing
diff options
context:
space:
mode:
authoriphydf <iphydf@users.noreply.github.com>2018-07-08 08:43:42 +0000
committeriphydf <iphydf@users.noreply.github.com>2018-07-09 21:04:50 +0000
commitabc17b0f8997ab07ae66130edd5dc8c43e72c886 (patch)
tree88056839c808a9f7f8c58f55ebe273aa7b5facdb /testing
parent4e21c065517d6e125cb1d1b9a13e886b3046b0d8 (diff)
Factor out time keeping code into its own module: mono_time.c.
It turns out, `unix_time` is also monotonic, and is used as such, so I've renamed the new functions to `mono_time_*`. 2018-07-08: ``` 00:01 <@irungentoo> the idea used to be that the unix_time() function could go backward in time but I think I might have started using it like if it could not after I changed it so that it would never go back in time ```
Diffstat (limited to 'testing')
-rw-r--r--testing/av_test.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/testing/av_test.c b/testing/av_test.c
index 5cc3b5dd..87a01871 100644
--- a/testing/av_test.c
+++ b/testing/av_test.c
@@ -45,7 +45,7 @@ extern "C" {
45#include "../toxav/ring_buffer.c" 45#include "../toxav/ring_buffer.c"
46 46
47#include "../toxav/toxav.h" 47#include "../toxav/toxav.h"
48#include "../toxcore/network.h" /* current_time_monotonic() */ 48#include "../toxcore/mono_time.h" /* current_time_monotonic() */
49#include "../toxcore/tox.h" 49#include "../toxcore/tox.h"
50#include "../toxcore/util.h" 50#include "../toxcore/util.h"
51 51