diff options
author | Kurt Van Dijck <dev.kurt@vandijck-laurijssen.be> | 2019-09-26 09:21:06 +0200 |
---|---|---|
committer | Paul Mackerras <paulus@ozlabs.org> | 2019-10-02 08:47:40 +1000 |
commit | 7f2f0deae2e0055373ccdd995cd3027aca546549 (patch) | |
tree | 6f421d61d6c65e9d3c578827d1b76e265040c5cc /pppd/tty.c | |
parent | 4e713175eae56cb863b39bc19d377f95a35823a8 (diff) | |
download | ppp-7f2f0deae2e0055373ccdd995cd3027aca546549.tar.gz |
pppd: Refactor setjmp/longjmp with pipe pair in event wait loop
setjmp/longjmp isn't supported by all compilers.
Having a pipe pair to wake an event wait loop from within a signal handler
is rather portable and common enough.
Signed-off-by: Kurt Van Dijck <dev.kurt@vandijck-laurijssen.be>
Signed-off-by: Paul Mackerras <paulus@ozlabs.org>
Diffstat (limited to 'pppd/tty.c')
-rw-r--r-- | pppd/tty.c | 1 |
1 files changed, 0 insertions, 1 deletions
@@ -83,7 +83,6 @@ #include <netdb.h> #include <utmp.h> #include <pwd.h> -#include <setjmp.h> #include <sys/param.h> #include <sys/types.h> #include <sys/wait.h> |