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

13 lines
396 B
C

$NetBSD: patch-outport.c,v 1.1 2012/10/24 15:38:03 joerg Exp $
--- outport.c.orig 2012-10-21 10:06:08.000000000 +0000
+++ outport.c
@@ -1,6 +1,6 @@
-extern main();
+#include "yaesu.h"
-outport(int fdSer, int one, int two, int three, int four, int opcode) {
+void outport(int fdSer, int one, int two, int three, int four, int opcode) {
write(fdSer,&one,1);
write(fdSer,&two,1);