mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-14 23:46:10 +00:00
50 lines
1.2 KiB
Plaintext
50 lines
1.2 KiB
Plaintext
|
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;
|