diff options
author | Antoine Brodin <antoine@FreeBSD.org> | 2014-04-12 21:54:53 +0000 |
---|---|---|
committer | Antoine Brodin <antoine@FreeBSD.org> | 2014-04-12 21:54:53 +0000 |
commit | c5e857d4b8cdd5c0a3872b6b7cd99c8519e4fffe (patch) | |
tree | 6790fd3b928d7ceec5fb7b47bf9e69860e20c047 /net/pmf | |
parent | 1117e12d3766d8cc9ea5deb01bdee1aa30a257b1 (diff) | |
download | ports-c5e857d4b8cdd5c0a3872b6b7cd99c8519e4fffe.tar.gz ports-c5e857d4b8cdd5c0a3872b6b7cd99c8519e4fffe.zip |
Notes
Diffstat (limited to 'net/pmf')
-rw-r--r-- | net/pmf/files/patch-help.c | 15 | ||||
-rw-r--r-- | net/pmf/files/patch-ipc.c | 21 | ||||
-rw-r--r-- | net/pmf/files/patch-putget.c | 28 |
3 files changed, 0 insertions, 64 deletions
diff --git a/net/pmf/files/patch-help.c b/net/pmf/files/patch-help.c index 8be26c9f0089..32ae872bda91 100644 --- a/net/pmf/files/patch-help.c +++ b/net/pmf/files/patch-help.c @@ -13,18 +13,3 @@ char *orig_arg; { char *arg, *lc = NULL, *try2 = NULL, *try3 = NULL, *try4 = NULL; ---- help.c.orig -+++ help.c -@@ -16,10 +16,11 @@ - #include "globals.h" - - extern char compile_time[], version[]; -+extern void cmd_help(); - - /*---------------------------------------------------------------------------*/ - --cmd_help(orig_arg) -+void cmd_help(orig_arg) - char *orig_arg; - { - char *arg, *lc = NULL, *try2 = NULL, *try3 = NULL, *try4 = NULL; diff --git a/net/pmf/files/patch-ipc.c b/net/pmf/files/patch-ipc.c index 74e69e66e607..7b7bc60af35e 100644 --- a/net/pmf/files/patch-ipc.c +++ b/net/pmf/files/patch-ipc.c @@ -19,24 +19,3 @@ unsigned int one, two, three; { unsigned char reply[3]; ---- 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]; diff --git a/net/pmf/files/patch-putget.c b/net/pmf/files/patch-putget.c index f1948bf46a45..395e4efdf5d4 100644 --- a/net/pmf/files/patch-putget.c +++ b/net/pmf/files/patch-putget.c @@ -26,31 +26,3 @@ char *filename, *optional_filename; { char *local_filename, *remote_filename, cmd_buffer[MAX_LINE_LENGTH + 1]; ---- putget.c.orig -+++ putget.c -@@ -30,6 +30,7 @@ - *expand_variables(), - *find_robot_action_string(), - *return_last(); -+extern void cmd_putfile(), cmd_getfile(); - - /* This is a temporary buffer of text received from the MUD game. - * If the flag "getfiling" is true, the routines that receive the MUD -@@ -44,7 +45,7 @@ - /*---------------------------------------------------------------------------*/ - - /* Send a file to LPmud using the built-in editor */ --cmd_putfile(filename, optional_filename) -+void cmd_putfile(filename, optional_filename) - char *filename, *optional_filename; - { - char *local_filename, *remote_filename, cmd_buffer[MAX_LINE_LENGTH + 1]; -@@ -103,7 +104,7 @@ - /*---------------------------------------------------------------------------*/ - - /* Get a file from LPmud using the built-in editor */ --cmd_getfile(filename, optional_filename) -+void cmd_getfile(filename, optional_filename) - char *filename, *optional_filename; - { - char *local_filename, *remote_filename, cmd_buffer[MAX_LINE_LENGTH + 1]; |