/*===========================================================================*
* in_process *
*===========================================================================*/
-PRIVATE void in_process_send_byte(tp, ch)
-tty_t *tp; /* terminal on which character has arrived */
-int ch; /* input character */
+PRIVATE void in_process_send_byte(
+ tty_t *tp, /* terminal on which character has arrived */
+ int ch /* input character */
+)
{
/* Save the character in the input queue. */
*tp->tty_inhead++ = ch;
ipaddr_t addr, udpport_t port ));
static int udp_receive _ARGS(( int fd, char *buf, unsigned buflen,
time_t timeout ));
+static int tcpip_writeall _ARGS((int fd, const char *buf, size_t siz));
+static int tcp_connect _ARGS((ipaddr_t host, tcpport_t port, int *terrno));
#endif /* !_MINIX */
return fd;
}
-static int tcpip_writeall(fd, buf, siz)
-int fd;
-const char *buf;
-size_t siz;
+static int tcpip_writeall(int fd, const char *buf, size_t siz)
{
size_t siz_org;
int nbytes;
extern int sys_panic; /* if set, shutdown can be done */
/* The parameters of the call are kept here. */
-extern message m_in; /* the input message itself */
-extern message m_out; /* the output message used for reply */
-extern int who_e; /* caller's proc number */
-extern int callnr; /* system call number */
extern int dont_reply; /* normally 0; set to 1 to inhibit reply */