From e4927433de9601f4e34126f740915ffa4e2ec663 Mon Sep 17 00:00:00 2001 From: Ron Yorston Date: Sun, 26 Jul 2015 10:34:41 +0100 Subject: win32: remove setitimer implementation and SIGALRM handling Commit 69f49ea imported a setitimer implementation from git. Since setitimer isn't used at all in BusyBox it can be removed. The same technique could be used to implement alarm but nothing in the WIN32 port uses that (yet). --- include/mingw.h | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) (limited to 'include/mingw.h') diff --git a/include/mingw.h b/include/mingw.h index 005c17d14..c15161483 100644 --- a/include/mingw.h +++ b/include/mingw.h @@ -123,13 +123,11 @@ struct sigaction { #define sigemptyset(x) (void)0 #define SA_RESTART 0 -int sigaction(int sig, struct sigaction *in, struct sigaction *out); -sighandler_t mingw_signal(int sig, sighandler_t handler); +NOIMPL(sigaction,int sig UNUSED_PARAM, struct sigaction *in UNUSED_PARAM, struct sigaction *out UNUSED_PARAM); NOIMPL(sigfillset,int *mask UNUSED_PARAM); NOIMPL(FAST_FUNC sigprocmask_allsigs, int how UNUSED_PARAM); NOIMPL(FAST_FUNC sigaction_set,int signo UNUSED_PARAM, const struct sigaction *sa UNUSED_PARAM); -#define signal mingw_signal /* * stdio.h */ @@ -342,12 +340,6 @@ struct timespec { long int tv_nsec; }; #endif -struct itimerval { - struct timeval it_value, it_interval; -}; -#define ITIMER_REAL 0 - -int setitimer(int type, struct itimerval *in, struct itimerval *out); /* * sys/wait.h -- cgit v1.2.3-55-g6feb