From ee0a2e7e1965200ec5968ec310bee429db819dde Mon Sep 17 00:00:00 2001 From: Mitya Selivanov Date: Sun, 3 Sep 2023 22:20:31 +0200 Subject: Remove const --- source/tests/test_duration.test.c | 19 ------------------- 1 file changed, 19 deletions(-) delete mode 100644 source/tests/test_duration.test.c (limited to 'source/tests/test_duration.test.c') diff --git a/source/tests/test_duration.test.c b/source/tests/test_duration.test.c deleted file mode 100644 index 27384b4..0000000 --- a/source/tests/test_duration.test.c +++ /dev/null @@ -1,19 +0,0 @@ -#define KIT_TEST_FILE test_duration -#include "../kit_test/test.h" - -#if defined(_WIN32) && !defined(__CYGWIN__) -__declspec(dllimport) void __stdcall Sleep(unsigned long timeout); -static void kit_sleep(int ms) { - Sleep(ms); -} -#else -# include -# include -static void kit_sleep(int ms) { - usleep(ms * 1000); -} -#endif - -TEST("test duration") { - kit_sleep(100); -} -- cgit v1.2.3