2013-09-26 17:14:40 +02:00

59 lines
1.5 KiB
Plaintext
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

$NetBSD: patch-az,v 1.2 2012/12/25 21:14:17 joerg Exp $
--- src/fasthenry/sparse/spBuild.c.orig 2004-08-03 22:17:18.000000000 +0000
+++ src/fasthenry/sparse/spBuild.c
@@ -105,8 +105,9 @@ static char RCSid[] =
#include "spMatrix.h"
#include "spDefs.h"
-
-
+static void Translate(MatrixPtr, int *, int *);
+static void ExpandTranslationArrays(MatrixPtr, register int);
+static void EnlargeMatrix( MatrixPtr Matrix, int NewSize);
@@ -227,7 +228,6 @@ int Row, Col;
MatrixPtr Matrix = (MatrixPtr)eMatrix;
RealNumber *pElement;
ElementPtr spcFindElementInCol();
-void Translate();
/* Begin `spGetElement'. */
ASSERT( IS_SPARSE( Matrix ) AND Row >= 0 AND Col >= 0 );
@@ -894,9 +894,7 @@ ElementPtr pCreatedElement, spcGetEleme
* Column currently being operated upon.
*/
-spcLinkRows( Matrix )
-
-MatrixPtr Matrix;
+void spcLinkRows(MatrixPtr Matrix)
{
register ElementPtr pElement, *FirstInRowEntry;
register ArrayOfElementPtrs FirstInRowArray;
@@ -944,11 +942,8 @@ register int Col;
* The allocated size of the matrix before it is expanded.
*/
-static
-EnlargeMatrix( Matrix, NewSize )
-
-MatrixPtr Matrix;
-register int NewSize;
+static void
+EnlargeMatrix( MatrixPtr Matrix, int NewSize)
{
register int I, OldAllocatedSize = Matrix->AllocatedSize;
@@ -1033,7 +1028,7 @@ register int I, OldAllocatedSize = Matri
* The allocated size of the translation arrays before being expanded.
*/
-static
+static void
ExpandTranslationArrays( Matrix, NewSize )
MatrixPtr Matrix;