From 771f8e31415326f6074ed7286b3b643aa2377cd9 Mon Sep 17 00:00:00 2001 From: Dmitry Simonenko Date: Fri, 14 Apr 2017 18:04:20 +0300 Subject: [PATCH] machinarium: remove leftovers --- CMakeLists.txt | 3 --- src/mm_io.h | 17 ----------------- 2 files changed, 20 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 35356f0c..d6c7fc6c 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -2,9 +2,6 @@ cmake_minimum_required(VERSION 2.8) project(machinarium) -set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} - ${CMAKE_CURRENT_SOURCE_DIR}/cmake) - if ("${CMAKE_BUILD_TYPE}" STREQUAL "") set(CMAKE_BUILD_TYPE "Debug") endif() diff --git a/src/mm_io.h b/src/mm_io.h index c532178e..cb4240b1 100644 --- a/src/mm_io.h +++ b/src/mm_io.h @@ -78,23 +78,6 @@ struct mm_io_t { mm_fiber_t *write_fiber; }; -#if 0 -static inline void -mm_io_timer_start(mm_timer_t *timer, - mm_timer_callback_t callback, - uint64_t time_ms) -{ - if (time_ms > 0) - mm_timer_start(timer, callback, time_ms, 0); -} - -static inline void -mm_io_timer_stop(uv_timer_t *timer) -{ - uv_timer_stop(timer); -} -#endif - static inline void mm_io_set_errno(mm_io_t *io, int rc) {