summaryrefslogtreecommitdiff
path: root/ham/yaesu/patches/patch-pacing.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-pacing.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-pacing.c')
-rw-r--r--ham/yaesu/patches/patch-pacing.c18
1 files changed, 18 insertions, 0 deletions
diff --git a/ham/yaesu/patches/patch-pacing.c b/ham/yaesu/patches/patch-pacing.c
new file mode 100644
index 00000000000..6de90278172
--- /dev/null
+++ b/ham/yaesu/patches/patch-pacing.c
@@ -0,0 +1,18 @@
+$NetBSD: patch-pacing.c,v 1.1 2012/10/24 15:38:03 joerg Exp $
+
+--- pacing.c.orig 2012-10-21 10:06:08.000000000 +0000
++++ pacing.c
+@@ -1,10 +1,8 @@
+-extern main();
+-extern outport();
+-
+-#include <config.h>
++#include "yaesu.h"
++#include "config.h"
+
+ /* Make sure pacing is set for the most speed */
+-pacing(int fdSer) {
++void pacing(int fdSer) {
+ int opcode;
+
+ opcode = 14;