diff options
author | joerg <joerg@pkgsrc.org> | 2012-10-24 15:37:58 +0000 |
---|---|---|
committer | joerg <joerg@pkgsrc.org> | 2012-10-24 15:37:58 +0000 |
commit | b05281ef64c92469348a8fe509d57eb4e814795c (patch) | |
tree | 7a9102f71dec0373fd562f60d55d63aeb3a20f9d /ham/yaesu/patches/patch-lock.c | |
parent | 5745857b98cf6ccdea883d510e79121447310e2b (diff) | |
download | pkgsrc-b05281ef64c92469348a8fe509d57eb4e814795c.tar.gz |
Fix missing system header, inconsistent function definitions, return; in
non-void functions. Bump revision.
Diffstat (limited to 'ham/yaesu/patches/patch-lock.c')
-rw-r--r-- | ham/yaesu/patches/patch-lock.c | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/ham/yaesu/patches/patch-lock.c b/ham/yaesu/patches/patch-lock.c new file mode 100644 index 00000000000..436569b4cc7 --- /dev/null +++ b/ham/yaesu/patches/patch-lock.c @@ -0,0 +1,15 @@ +$NetBSD: patch-lock.c,v 1.1 2012/10/24 15:38:01 joerg Exp $ + +--- lock.c.orig 2012-10-21 10:06:08.000000000 +0000 ++++ lock.c +@@ -1,8 +1,6 @@ +-extern main(); +-extern flag_data_return[]; +-extern outport(); ++#include "yaesu.h" + +-lock(int fdSer) { ++void lock(int fdSer) { + int opcode, lock_toggler; + char locker; + rd_flags(fdSer); |