1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
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];
|