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 0b1a3504..2cfd5dae 100644 --- a/openbsd-compat/bsd-misc.h +++ b/openbsd-compat/bsd-misc.h @@ -49,10 +49,6 @@ int setegid(uid_t); const char *strerror(int); #endif -#if !defined(HAVE_STRSIGNAL) -char *strsignal(int); -#endif - #if !defined(HAVE_SETLINEBUF) #define setlinebuf(a) (setvbuf((a), NULL, _IOLBF, 0)) #endif @@ -98,12 +94,6 @@ int tcsendbreak(int, int); int unsetenv(const char *); #endif -/* wrapper for signal interface */ -typedef void (*mysig_t)(int); -mysig_t mysignal(int sig, mysig_t act); - -#define signal(a,b) mysignal(a,b) - #ifndef HAVE_ISBLANK int isblank(int); #endif |