From 4c3cd7fde636946bb806d9b2d025c59418fa4e85 Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Thu, 6 Mar 2025 16:57:49 +0100 Subject: style and some minor fixes MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- src/common.h | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) (limited to 'src/common.h') diff --git a/src/common.h b/src/common.h index 170f97a..70e77b1 100644 --- a/src/common.h +++ b/src/common.h @@ -37,6 +37,7 @@ #include #include #include +#include #include #include #include @@ -51,7 +52,6 @@ # define localtime_r(T, TM) localtime_s((TM), (T)) #else # include -# include # include #endif @@ -265,15 +265,10 @@ void pipeutils_signal(int write_fd); void pipeutils_handle_signal(int read_fd); -#ifdef WINDOWS -extern int exiting; -extern int disable; -#else extern volatile sig_atomic_t exiting; extern volatile sig_atomic_t disable; -#endif -int signals_install_handlers(void); +void signals_install_handlers(void); int systemtime_get_time(double *now); -- cgit v1.2.3-70-g09d2