summaryrefslogtreecommitdiff
path: root/ham/yaesu/patches/patch-ptt.c
blob: 767d751eb1c5c8ee8e411ccb2e9aa91398d432b1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
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 */