summaryrefslogtreecommitdiff
path: root/ham/yaesu/patches/patch-aux.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-aux.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-aux.c')
-rw-r--r--ham/yaesu/patches/patch-aux.c15
1 files changed, 15 insertions, 0 deletions
diff --git a/ham/yaesu/patches/patch-aux.c b/ham/yaesu/patches/patch-aux.c
new file mode 100644
index 00000000000..e40294750ad
--- /dev/null
+++ b/ham/yaesu/patches/patch-aux.c
@@ -0,0 +1,15 @@
+$NetBSD: patch-aux.c,v 1.1 2012/10/24 15:38:00 joerg Exp $
+
+--- aux.c.orig 2012-10-21 10:06:08.000000000 +0000
++++ aux.c
+@@ -1,8 +1,6 @@
+-extern main();
+-extern freq_read();
+-extern aux_comeback;
++#include "yaesu.h"
+
+-aux(int fdSer) {
++void aux(int fdSer) {
+ int selector;
+ printf("\n1) status_output - Read frequency.\n");
+ printf("2) wwv_find - Find strongest WWV station and set frequency.\n");