opnsense-ports/net/pmf/files/patch-ipc.c
Franco Fichtner 8cb1a96ede ports: pull in a snapshot of the FreeBSD ports tree
Taken from:	https://github.com/freebsd/freebsd-ports.git
Commit id:	5070672073b68be364139bc6b3a89100bd17d331
2014-11-09 14:03:21 +01:00

21 lines
516 B
C

--- ipc.c.orig
+++ ipc.c
@@ -35,8 +35,7 @@
#endif /* FD_ZERO */
extern char *get_now_date_string();
-
-extern int errno;
+extern void telnet_protocol();
static struct in_addr host_address;
static struct sockaddr_in socket_address;
@@ -360,7 +359,7 @@
/* This function takes the three bytes from a telnet command,
* and implements a very limited telnet protocol.
*/
-telnet_protocol(one, two, three)
+void telnet_protocol(one, two, three)
unsigned int one, two, three;
{
unsigned char reply[3];