summaryrefslogtreecommitdiff
path: root/ham/yaesu/patches/patch-ptt.c
diff options
context:
space:
mode:
Diffstat (limited to 'ham/yaesu/patches/patch-ptt.c')
-rw-r--r--ham/yaesu/patches/patch-ptt.c15
1 files changed, 15 insertions, 0 deletions
diff --git a/ham/yaesu/patches/patch-ptt.c b/ham/yaesu/patches/patch-ptt.c
new file mode 100644
index 00000000000..767d751eb1c
--- /dev/null
+++ b/ham/yaesu/patches/patch-ptt.c
@@ -0,0 +1,15 @@
+$NetBSD: patch-ptt.c,v 1.1 2012/10/24 15:38:04 joerg Exp $
+
+--- ptt.c.orig 2012-10-21 10:06:08.000000000 +0000
++++ ptt.c
+@@ -1,8 +1,6 @@
+-extern main();
+-extern flag_data_return[];
+-extern outport();
++#include "yaesu.h"
+
+-ptt(int fdSer) {
++void ptt(int fdSer) {
+ int opcode, tx_status, cat_tx_status;
+
+ /* We have to make sure we can tx, we need to look for tx inhibitors */