diff options
author | Thomas Haller <thaller@redhat.com> | 2019-05-18 13:22:52 +0200 |
---|---|---|
committer | Thomas Haller <thaller@redhat.com> | 2019-05-22 20:04:08 +0200 |
commit | 2946d0708565734c2b7c5ecce0be4733640fc945 (patch) | |
tree | 76ea43560d8c2d47eba42ab26a9e7b86df683822 /shared/nm-utils | |
parent | 4c78434a0bf5a7fbf8ceafb0d07440f3fc7a2b71 (diff) | |
download | NetworkManager-2946d0708565734c2b7c5ecce0be4733640fc945.tar.gz |
shared: implement _nm_utils_monotonic_timestamp_initialized() in "nm-logging-stub.c"
Diffstat (limited to 'shared/nm-utils')
-rw-r--r-- | shared/nm-utils/tests/test-shared-general.c | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/shared/nm-utils/tests/test-shared-general.c b/shared/nm-utils/tests/test-shared-general.c index ddf1ef7823..ff0906fdf7 100644 --- a/shared/nm-utils/tests/test-shared-general.c +++ b/shared/nm-utils/tests/test-shared-general.c @@ -29,24 +29,10 @@ /*****************************************************************************/ -static int _monotonic_timestamp_initialized; - -void -_nm_utils_monotonic_timestamp_initialized (const struct timespec *tp, - gint64 offset_sec, - gboolean is_boottime) -{ - g_assert (!_monotonic_timestamp_initialized); - _monotonic_timestamp_initialized = 1; -} - -/*****************************************************************************/ - static void test_monotonic_timestamp (void) { g_assert (nm_utils_get_monotonic_timestamp_s () > 0); - g_assert (_monotonic_timestamp_initialized); } /*****************************************************************************/ |