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
|
Description: Fix FTBFS Error for GCC14
Author: Dave Hibberd <hibby@debian.org>
Forwarded: yes
Bug: https://github.com/PhirePhly/aprx/issues/78
Last-Update: 2024-08-27
---
This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
--- a/ttyreader.c
+++ b/ttyreader.c
@@ -705,6 +705,7 @@
void
aprx_cfmakeraw(t, f)
struct termios *t;
+ int f;
{
t->c_iflag &= ~(IMAXBEL|IXOFF|INPCK|BRKINT|PARMRK|ISTRIP|INLCR|IGNCR|ICRNL|IXON|IGNPAR);
--- a/test.c
+++ b/test.c
@@ -14,7 +14,7 @@
return h;
}
-main()
+int main()
{
printf("APRSPASS: %d\n", aprspass("OH2MQK-1"));
return 0;
|