summaryrefslogtreecommitdiff
path: root/ham/yaesu/patches/patch-ham__gen.c
diff options
context:
space:
mode:
Diffstat (limited to 'ham/yaesu/patches/patch-ham__gen.c')
-rw-r--r--ham/yaesu/patches/patch-ham__gen.c15
1 files changed, 15 insertions, 0 deletions
diff --git a/ham/yaesu/patches/patch-ham__gen.c b/ham/yaesu/patches/patch-ham__gen.c
new file mode 100644
index 00000000000..b46108d88e6
--- /dev/null
+++ b/ham/yaesu/patches/patch-ham__gen.c
@@ -0,0 +1,15 @@
+$NetBSD: patch-ham__gen.c,v 1.1 2012/10/24 15:38:01 joerg Exp $
+
+--- ham_gen.c.orig 2012-10-21 10:06:08.000000000 +0000
++++ ham_gen.c
+@@ -1,8 +1,6 @@
+-extern main();
+-extern flag_data_return[];
+-extern outport();
++#include "yaesu.h"
+
+-ham_gen(int fdSer) {
++void ham_gen(int fdSer) {
+ int opcode, ham_gen_byte;
+
+ rd_flags(fdSer);