summaryrefslogtreecommitdiff
path: root/ham/yaesu/patches/patch-tuner10.c
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2012-10-24 15:37:58 +0000
committerjoerg <joerg@pkgsrc.org>2012-10-24 15:37:58 +0000
commitb05281ef64c92469348a8fe509d57eb4e814795c (patch)
tree7a9102f71dec0373fd562f60d55d63aeb3a20f9d /ham/yaesu/patches/patch-tuner10.c
parent5745857b98cf6ccdea883d510e79121447310e2b (diff)
downloadpkgsrc-b05281ef64c92469348a8fe509d57eb4e814795c.tar.gz
Fix missing system header, inconsistent function definitions, return; in
non-void functions. Bump revision.
Diffstat (limited to 'ham/yaesu/patches/patch-tuner10.c')
-rw-r--r--ham/yaesu/patches/patch-tuner10.c15
1 files changed, 15 insertions, 0 deletions
diff --git a/ham/yaesu/patches/patch-tuner10.c b/ham/yaesu/patches/patch-tuner10.c
new file mode 100644
index 00000000000..2120a23b3e4
--- /dev/null
+++ b/ham/yaesu/patches/patch-tuner10.c
@@ -0,0 +1,15 @@
+$NetBSD: patch-tuner10.c,v 1.1 2012/10/24 15:38:06 joerg Exp $
+
+--- tuner10.c.orig 2012-10-21 10:06:08.000000000 +0000
++++ tuner10.c
+@@ -1,8 +1,6 @@
+-extern main();
+-extern flag_data_return[];
+-extern outport();
++#include "yaesu.h"
+
+-tuner10(int fdSer) {
++void tuner10(int fdSer) {
+ /*
+ * I do not know if this function works, I do not have a
+ * tuner to test it with.