aboutsummaryrefslogtreecommitdiff
path: root/net/pmf/files/patch-putget.c
diff options
context:
space:
mode:
Diffstat (limited to 'net/pmf/files/patch-putget.c')
-rw-r--r--net/pmf/files/patch-putget.c56
1 files changed, 56 insertions, 0 deletions
diff --git a/net/pmf/files/patch-putget.c b/net/pmf/files/patch-putget.c
new file mode 100644
index 000000000000..f1948bf46a45
--- /dev/null
+++ b/net/pmf/files/patch-putget.c
@@ -0,0 +1,56 @@
+--- 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];
+--- 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];