summaryrefslogtreecommitdiff
path: root/next-posix.c
diff options
context:
space:
mode:
Diffstat (limited to 'next-posix.c')
-rw-r--r--next-posix.c46
1 files changed, 1 insertions, 45 deletions
diff --git a/next-posix.c b/next-posix.c
index 247ba09a3..0ca241fdd 100644
--- a/next-posix.c
+++ b/next-posix.c
@@ -18,9 +18,6 @@
18#include <errno.h> 18#include <errno.h>
19#include <termios.h> 19#include <termios.h>
20#include <sys/wait.h> 20#include <sys/wait.h>
21#ifdef HAVE_STDDEF_H
22#include <stddef.h>
23#endif
24 21
25#include "xmalloc.h" 22#include "xmalloc.h"
26#include "ssh.h" 23#include "ssh.h"
@@ -99,50 +96,9 @@ cfsetospeed(struct termios *t,int speed)
99} 96}
100 97
101int 98int
102cfsetispeed(struct termios *t, speed_t speed) 99cfsetispeed(struct termios *t, int speed)
103{ 100{
104 t->c_ispeed = speed; 101 t->c_ispeed = speed;
105 return (0); 102 return (0);
106} 103}
107
108#if 0
109
110/*define sigset_t int*/
111
112/* This whole thing is insane. It's purely wrong, but it's a first
113 go a it. -bl */
114
115int sigemptyset(sigset_t *set)
116{
117 return 0;
118}
119
120int sigaddset(sigset_t *set, int signum)
121{
122 *set |= (1 << (signum - 1));
123 return set;
124}
125
126int sigprocmask(int how, const sigset_t *set, sigset_t *oldset)
127{
128 switch(how) {
129 case SIG_BLOCK:
130 return 0;
131 case SIG_UNBLOCK:
132 return ( 0 & ~ *set);
133 default:
134 return 0;
135 }
136}
137
138int sigsuspend(const sigset_t *mask)
139{
140}
141
142int sigaction(int signum,const struct sigaction *act, struct sigaction *oldact)
143{
144}
145
146#endif /* 0 */
147
148#endif /* HAVE_NEXT */ 104#endif /* HAVE_NEXT */