From 9557ca00615d2a6e68785272357642779db26411 Mon Sep 17 00:00:00 2001 From: Laurent Bercot Date: Tue, 9 Dec 2014 16:47:01 +0000 Subject: Remove deprecated sig.c and useless select wrapper --- src/libstddjb/fd_select.c | 14 -------------- src/libstddjb/sig.c | 18 ------------------ 2 files changed, 32 deletions(-) delete mode 100644 src/libstddjb/fd_select.c delete mode 100644 src/libstddjb/sig.c (limited to 'src/libstddjb') diff --git a/src/libstddjb/fd_select.c b/src/libstddjb/fd_select.c deleted file mode 100644 index 846485d..0000000 --- a/src/libstddjb/fd_select.c +++ /dev/null @@ -1,14 +0,0 @@ -/* ISC license. */ - -#include -#include -#include - -int fd_select (int n, fd_set *rfds, fd_set *wfds, fd_set *xfds, struct timeval *tv) -{ - register int r ; - do - r = select(n, rfds, wfds, xfds, tv) ; - while ((r == -1) && (errno == EINTR)) ; - return r ; -} diff --git a/src/libstddjb/sig.c b/src/libstddjb/sig.c deleted file mode 100644 index 334b79a..0000000 --- a/src/libstddjb/sig.c +++ /dev/null @@ -1,18 +0,0 @@ -/* ISC license. */ - -#include -#include - -int sig_alarm = SIGALRM ; -int sig_child = SIGCHLD ; -int sig_stop = SIGSTOP ; -int sig_cont = SIGCONT ; -int sig_hangup = SIGHUP ; -int sig_int = SIGINT ; -int sig_kill = SIGKILL ; -int sig_pipe = SIGPIPE ; -int sig_term = SIGTERM ; -int sig_usr1 = SIGUSR1 ; -int sig_usr2 = SIGUSR2 ; -int sig_quit = SIGQUIT ; -int sig_abort = SIGABRT ; -- cgit v1.2.3