aboutsummaryrefslogtreecommitdiff
path: root/include/mingw.h
diff options
context:
space:
mode:
authorRon Yorston <rmy@pobox.com>2015-07-26 10:34:41 +0100
committerRon Yorston <rmy@pobox.com>2015-07-26 10:34:41 +0100
commite4927433de9601f4e34126f740915ffa4e2ec663 (patch)
treea01d36a18fd161305d1bac9e46044bd89da3f886 /include/mingw.h
parent843b490b155eb2e531359910b1d4861f83d69109 (diff)
downloadbusybox-w32-e4927433de9601f4e34126f740915ffa4e2ec663.tar.gz
busybox-w32-e4927433de9601f4e34126f740915ffa4e2ec663.tar.bz2
busybox-w32-e4927433de9601f4e34126f740915ffa4e2ec663.zip
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).
Diffstat (limited to 'include/mingw.h')
-rw-r--r--include/mingw.h10
1 files changed, 1 insertions, 9 deletions
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 {
123#define sigemptyset(x) (void)0 123#define sigemptyset(x) (void)0
124#define SA_RESTART 0 124#define SA_RESTART 0
125 125
126int sigaction(int sig, struct sigaction *in, struct sigaction *out); 126NOIMPL(sigaction,int sig UNUSED_PARAM, struct sigaction *in UNUSED_PARAM, struct sigaction *out UNUSED_PARAM);
127sighandler_t mingw_signal(int sig, sighandler_t handler);
128NOIMPL(sigfillset,int *mask UNUSED_PARAM); 127NOIMPL(sigfillset,int *mask UNUSED_PARAM);
129NOIMPL(FAST_FUNC sigprocmask_allsigs, int how UNUSED_PARAM); 128NOIMPL(FAST_FUNC sigprocmask_allsigs, int how UNUSED_PARAM);
130NOIMPL(FAST_FUNC sigaction_set,int signo UNUSED_PARAM, const struct sigaction *sa UNUSED_PARAM); 129NOIMPL(FAST_FUNC sigaction_set,int signo UNUSED_PARAM, const struct sigaction *sa UNUSED_PARAM);
131 130
132#define signal mingw_signal
133/* 131/*
134 * stdio.h 132 * stdio.h
135 */ 133 */
@@ -342,12 +340,6 @@ struct timespec {
342 long int tv_nsec; 340 long int tv_nsec;
343}; 341};
344#endif 342#endif
345struct itimerval {
346 struct timeval it_value, it_interval;
347};
348#define ITIMER_REAL 0
349
350int setitimer(int type, struct itimerval *in, struct itimerval *out);
351 343
352/* 344/*
353 * sys/wait.h 345 * sys/wait.h