aboutsummaryrefslogtreecommitdiff
path: root/src/core/clock.c
diff options
context:
space:
mode:
authorGarrett D'Amore <garrett@damore.org>2021-07-22 00:57:13 -0700
committerGarrett D'Amore <garrett@damore.org>2021-07-22 00:57:13 -0700
commit9f0fcbd84a6ee3655f55629ed4b01d13647ac0c9 (patch)
treeba850aa64c8ae94f50c093edce2ae44a6e1e7b6a /src/core/clock.c
parentf59f322c796ac81c2dea402d0955f6d3718c7b19 (diff)
downloadnng-9f0fcbd84a6ee3655f55629ed4b01d13647ac0c9.tar.gz
nng-9f0fcbd84a6ee3655f55629ed4b01d13647ac0c9.tar.bz2
nng-9f0fcbd84a6ee3655f55629ed4b01d13647ac0c9.zip
Remove extra wrapper for platform clock support.
Diffstat (limited to 'src/core/clock.c')
-rw-r--r--src/core/clock.c22
1 files changed, 0 insertions, 22 deletions
diff --git a/src/core/clock.c b/src/core/clock.c
deleted file mode 100644
index 49b972e7..00000000
--- a/src/core/clock.c
+++ /dev/null
@@ -1,22 +0,0 @@
-//
-// Copyright 2017 Garrett D'Amore <garrett@damore.org>
-//
-// This software is supplied under the terms of the MIT License, a
-// copy of which should be located in the distribution where this
-// file was obtained (LICENSE.txt). A copy of the license may also be
-// found online at https://opensource.org/licenses/MIT.
-//
-
-#include "core/nng_impl.h"
-
-nni_time
-nni_clock(void)
-{
- return (nni_plat_clock());
-}
-
-void
-nni_msleep(nni_duration msec)
-{
- nni_plat_sleep(msec);
-}