diff options
author | Darren Tucker <dtucker@dtucker.net> | 2018-02-11 21:25:11 +1300 |
---|---|---|
committer | Darren Tucker <dtucker@dtucker.net> | 2018-02-11 21:24:48 +1100 |
commit | fbfa6f980d7460b3e12b0ce88ed3b6018edf4711 (patch) | |
tree | 0c75a95f5f6e2a1e7d2de891f7b7476e41574f56 /openbsd-compat/bsd-misc.h | |
parent | 24d2a33bd3bf5170700bfdd8675498aa09a79eab (diff) |
Move signal compat code into bsd-signal.{c,h}
Diffstat (limited to 'openbsd-compat/bsd-misc.h')
-rw-r--r-- | openbsd-compat/bsd-misc.h | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/openbsd-compat/bsd-misc.h b/openbsd-compat/bsd-misc.h index 0b1a3504f..2cfd5dae6 100644 --- a/openbsd-compat/bsd-misc.h +++ b/openbsd-compat/bsd-misc.h | |||
@@ -49,10 +49,6 @@ int setegid(uid_t); | |||
49 | const char *strerror(int); | 49 | const char *strerror(int); |
50 | #endif | 50 | #endif |
51 | 51 | ||
52 | #if !defined(HAVE_STRSIGNAL) | ||
53 | char *strsignal(int); | ||
54 | #endif | ||
55 | |||
56 | #if !defined(HAVE_SETLINEBUF) | 52 | #if !defined(HAVE_SETLINEBUF) |
57 | #define setlinebuf(a) (setvbuf((a), NULL, _IOLBF, 0)) | 53 | #define setlinebuf(a) (setvbuf((a), NULL, _IOLBF, 0)) |
58 | #endif | 54 | #endif |
@@ -98,12 +94,6 @@ int tcsendbreak(int, int); | |||
98 | int unsetenv(const char *); | 94 | int unsetenv(const char *); |
99 | #endif | 95 | #endif |
100 | 96 | ||
101 | /* wrapper for signal interface */ | ||
102 | typedef void (*mysig_t)(int); | ||
103 | mysig_t mysignal(int sig, mysig_t act); | ||
104 | |||
105 | #define signal(a,b) mysignal(a,b) | ||
106 | |||
107 | #ifndef HAVE_ISBLANK | 97 | #ifndef HAVE_ISBLANK |
108 | int isblank(int); | 98 | int isblank(int); |
109 | #endif | 99 | #endif |