pkgsrc/ham/yaesu/patches/patch-ptt.c
2012-10-24 15:37:58 +00:00

15 lines
381 B
C

$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 */