From b42c9662303d1a33ebe038d1895c08945cdbd40f Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Wed, 5 Mar 2025 19:26:58 +0100 Subject: Cleanup and style update (avoid typedef) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- src/hooks.c | 12 +----------- 1 file changed, 1 insertion(+), 11 deletions(-) (limited to 'src/hooks.c') diff --git a/src/hooks.c b/src/hooks.c index cb14f60..1bd3efe 100644 --- a/src/hooks.c +++ b/src/hooks.c @@ -16,16 +16,6 @@ Copyright (c) 2014 Jon Lund Steffensen */ - -#include -#include -#include -#include -#include -#ifndef _WIN32 -# include -#endif - #include "common.h" #define MAX_HOOK_PATH 4096 @@ -71,7 +61,7 @@ open_hooks_dir(char *hp) /* Run hooks with a signal that the period changed. */ void -hooks_signal_period_change(period_t prev_period, period_t period) +hooks_signal_period_change(enum period prev_period, enum period period) { char hooksdir_path[MAX_HOOK_PATH]; DIR *hooks_dir = open_hooks_dir(hooksdir_path); -- cgit v1.2.3-70-g09d2