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

14 lines
356 B
C

$NetBSD: patch-bright.c,v 1.1 2012/10/24 15:38:00 joerg Exp $
--- bright.c.orig 2012-10-21 10:06:08.000000000 +0000
+++ bright.c
@@ -1,7 +1,6 @@
-extern main();
-extern opcode();
+#include "yaesu.h"
-bright(int fdSer) {
+void bright(int fdSer) {
int opcode, bright_level;
opcode = 0x0f8;
printf("Enter brightness level: 0..7 [brightest] -> ");