diff options
author | Ron Yorston <rmy@pobox.com> | 2015-07-26 10:34:41 +0100 |
---|---|---|
committer | Ron Yorston <rmy@pobox.com> | 2015-07-26 10:34:41 +0100 |
commit | e4927433de9601f4e34126f740915ffa4e2ec663 (patch) | |
tree | a01d36a18fd161305d1bac9e46044bd89da3f886 /include/mingw.h | |
parent | 843b490b155eb2e531359910b1d4861f83d69109 (diff) | |
download | busybox-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.h | 10 |
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 | ||
126 | int sigaction(int sig, struct sigaction *in, struct sigaction *out); | 126 | NOIMPL(sigaction,int sig UNUSED_PARAM, struct sigaction *in UNUSED_PARAM, struct sigaction *out UNUSED_PARAM); |
127 | sighandler_t mingw_signal(int sig, sighandler_t handler); | ||
128 | NOIMPL(sigfillset,int *mask UNUSED_PARAM); | 127 | NOIMPL(sigfillset,int *mask UNUSED_PARAM); |
129 | NOIMPL(FAST_FUNC sigprocmask_allsigs, int how UNUSED_PARAM); | 128 | NOIMPL(FAST_FUNC sigprocmask_allsigs, int how UNUSED_PARAM); |
130 | NOIMPL(FAST_FUNC sigaction_set,int signo UNUSED_PARAM, const struct sigaction *sa UNUSED_PARAM); | 129 | NOIMPL(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 |
345 | struct itimerval { | ||
346 | struct timeval it_value, it_interval; | ||
347 | }; | ||
348 | #define ITIMER_REAL 0 | ||
349 | |||
350 | int setitimer(int type, struct itimerval *in, struct itimerval *out); | ||
351 | 343 | ||
352 | /* | 344 | /* |
353 | * sys/wait.h | 345 | * sys/wait.h |