summaryrefslogtreecommitdiff
path: root/ARDOP.c
diff options
context:
space:
mode:
authorDave Hibberd <hibby@debian.org>2025-10-10 23:37:36 +0100
committerDave Hibberd <hibby@debian.org>2025-10-10 23:37:36 +0100
commit70d9b41cc181afd24d470fe82f986e762f2f59c1 (patch)
tree1909e8c1b7338672927e03b3a4d22fcfd550a283 /ARDOP.c
parentc0425ff0e288b96bde8b96b8d16e758de2896f00 (diff)
parent96ac3e4a36e5a0a9d86c10442ed747a8a910b40c (diff)
Update upstream source from tag 'upstream/6.0.25.06+repack'
Update to upstream version '6.0.25.06+repack' with Debian dir 0466cb7b030a4cad4c8b89b1d6b4851385560113
Diffstat (limited to 'ARDOP.c')
-rw-r--r--ARDOP.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/ARDOP.c b/ARDOP.c
index ade0ecf..048c67f 100644
--- a/ARDOP.c
+++ b/ARDOP.c
@@ -567,7 +567,7 @@ static int ProcessLine(char * buf, int Port)
}
-void ARDOPThread(struct TNCINFO * TNC);
+void ARDOPThread(VOID * Param);
VOID ARDOPProcessDataSocketData(int port);
int ConnecttoARDOP(struct TNCINFO * TNC);
static VOID ARDOPProcessReceivedData(struct TNCINFO * TNC);
@@ -2312,12 +2312,13 @@ int ConnecttoARDOP(struct TNCINFO * TNC)
return 0;
}
-VOID ARDOPThread(struct TNCINFO * TNC)
+VOID ARDOPThread(VOID * Param)
{
// Opens sockets and looks for data on control and data sockets.
// Socket may be TCP/IP or Serial
+ struct TNCINFO * TNC = (struct TNCINFO *) Param;
char Msg[255];
int err, i, ret;
u_long param=1;
@@ -5758,8 +5759,7 @@ VOID ARDOPSCSPoll(struct TNCINFO * TNC)
// Probably only for Teensy with ESP01. Runs SCS Emulator over a TCP Link
-
-VOID SerialConnecttoTCPThread(struct TNCINFO * TNC);
+VOID SerialConnecttoTCPThread(VOID * Param);
int SerialConnecttoTCP(struct TNCINFO * TNC)
{
@@ -5767,9 +5767,9 @@ int SerialConnecttoTCP(struct TNCINFO * TNC)
return 0;
}
-
-VOID SerialConnecttoTCPThread(struct TNCINFO * TNC)
+VOID SerialConnecttoTCPThread(VOID * Param)
{
+ struct TNCINFO * TNC = (struct TNCINFO *) Param;
char Msg[255];
int i;
u_long param = 1;