summaryrefslogtreecommitdiff
path: root/net/ztelnet/files/patch-aw
blob: 26a70beb4ca22a230864323ff2a74239b7e1455c (plain) (blame)
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
diff -uNr ../ztelnet/zmodem/zm.c ./zmodem/zm.c
--- ../ztelnet/zmodem/zm.c	Mon Apr 24 14:31:24 1995
+++ ./zmodem/zm.c	Wed Dec  3 03:59:53 1997
@@ -72,10 +72,7 @@
 STATIC char Attn[ZATTNLEN+1];	/* Attention string rx sends to tx on err */
 STATIC char *Altcan;		/* Alternate canit string */
 
-STATIC int lastsent;	/* Last char we sent */
-
-/* PMS */
-#include "zm.h"
+STATIC lastsent;	/* Last char we sent */
 
 STATIC char *frametypes[] = {
 	"No Response to Error Correction Request",	/* -4 */
@@ -110,6 +107,23 @@
 
 STATIC char badcrc[] = "Bad CRC";
 
+/*---- Appended by yongari to shutu up compiler -----*/
+STATIC zsbh32();
+STATIC zsda32();
+STATIC zrdat32();
+STATIC garbitch();
+STATIC zrbhdr();
+STATIC zrbhd32();
+STATIC zrhhdr();
+STATIC zputhex();
+STATIC zsendline();
+STATIC zgethex();
+STATIC zgeth1();
+STATIC zdlread();
+STATIC noxrd7();
+/* STATIC unsigned long rclhdr();*/
+/*----------------------------------------------------*/
+
 /* Send ZMODEM binary header hdr of type type */
 STATIC zsbhdr(len, type, hdr)
 register char *hdr;
@@ -885,8 +899,7 @@
 }
 
 /* Recover a unsigned long integer from a header */
-STATIC unsigned long
-rclhdr(hdr)
+STATIC unsigned long rclhdr(hdr)
 register char *hdr;
 {
 	register unsigned long l;