From 9f0fcbd84a6ee3655f55629ed4b01d13647ac0c9 Mon Sep 17 00:00:00 2001 From: Garrett D'Amore Date: Thu, 22 Jul 2021 00:57:13 -0700 Subject: Remove extra wrapper for platform clock support. --- src/core/clock.c | 22 ---------------------- 1 file changed, 22 deletions(-) delete mode 100644 src/core/clock.c (limited to 'src/core/clock.c') 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 -// -// 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); -} -- cgit v1.2.3-70-g09d2