pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/x11/xscribble Mark a function as void that never retur...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/4bde10269ac9
branches:  trunk
changeset: 610479:4bde10269ac9
user:      joerg <joerg%pkgsrc.org@localhost>
date:      Fri Oct 26 20:14:51 2012 +0000

description:
Mark a function as void that never returns a value.

diffstat:

 x11/xscribble/distinfo                 |   3 ++-
 x11/xscribble/patches/patch-lirec_sc.c |  30 ++++++++++++++++++++++++++++++
 2 files changed, 32 insertions(+), 1 deletions(-)

diffs (48 lines):

diff -r dd8876206d14 -r 4bde10269ac9 x11/xscribble/distinfo
--- a/x11/xscribble/distinfo    Fri Oct 26 20:13:41 2012 +0000
+++ b/x11/xscribble/distinfo    Fri Oct 26 20:14:51 2012 +0000
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.7 2012/07/30 04:08:53 dholland Exp $
+$NetBSD: distinfo,v 1.8 2012/10/26 20:14:51 joerg Exp $
 
 SHA1 (xscribble.tgz) = 9983577533c6b6f482e2bfe863f54604337562c7
 RMD160 (xscribble.tgz) = 49f5a5339819a76e303a135d54fb8ffd4f88febb
@@ -8,3 +8,4 @@
 SHA1 (patch-ac) = 61557798a2ea575862e9c0a14761465491ec6ac5
 SHA1 (patch-ad) = 9fe0ce4f137975cd380280e13ccfa1543016b5b7
 SHA1 (patch-ae) = 794a20d07760403be3fd90fef5de604732834771
+SHA1 (patch-lirec_sc.c) = c53184fc5161ce5484f5e6139bae411727538f41
diff -r dd8876206d14 -r 4bde10269ac9 x11/xscribble/patches/patch-lirec_sc.c
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/x11/xscribble/patches/patch-lirec_sc.c    Fri Oct 26 20:14:51 2012 +0000
@@ -0,0 +1,30 @@
+$NetBSD: patch-lirec_sc.c,v 1.1 2012/10/26 20:14:51 joerg Exp $
+
+--- lirec/sc.c.orig    2012-10-26 14:07:40.000000000 +0000
++++ lirec/sc.c
+@@ -26,10 +26,13 @@ Software Foundation, Inc., 675 Mass Ave,
+ #include "matrix.h"
+ #include "util.h"
+ #include "sc.h"
+-#include "stdio.h"
++#include <stdio.h>
++#include <stdlib.h>
+ #include "math.h"
+ #include "zdebug.h"
+ 
++static void FixClassifier(sClassifier sc, Matrix avgcov);
++
+ #define       EPS     (1.0e-6)        /* for singular matrix check */
+ sClassifier
+ sNewClassifier()
+@@ -363,9 +366,7 @@ register Matrix sigma;
+       return result;
+ }
+ 
+-FixClassifier(sc, avgcov)
+-register sClassifier sc;
+-Matrix avgcov;
++static void FixClassifier(sClassifier sc, Matrix avgcov)
+ {
+       int i;
+       double det;



Home | Main Index | Thread Index | Old Index