50 lines
1.0 KiB
Plaintext
50 lines
1.0 KiB
Plaintext
$NetBSD: patch-ay,v 1.2 2012/12/25 21:14:17 joerg Exp $
|
|
|
|
--- src/fasthenry/sparse/spAllocate.c.orig 2004-08-03 22:17:17.000000000 +0000
|
|
+++ src/fasthenry/sparse/spAllocate.c
|
|
@@ -106,9 +106,9 @@ static char RCSid[] =
|
|
#include "spMatrix.h"
|
|
#include "spDefs.h"
|
|
|
|
-
|
|
-
|
|
-
|
|
+static void InitializeElementBlocks(MatrixPtr, int, int);
|
|
+static void RecordAllocation(MatrixPtr, char *);
|
|
+static void AllocateBlockOfAllocationList(MatrixPtr);
|
|
|
|
|
|
/*
|
|
@@ -402,7 +402,7 @@ ElementPtr pElement;
|
|
* spNO_MEMORY
|
|
*/
|
|
|
|
-static
|
|
+static void
|
|
InitializeElementBlocks( Matrix, InitialNumberOfElements,
|
|
NumberOfFillinsExpected )
|
|
|
|
@@ -545,11 +545,8 @@ ElementPtr pFillins;
|
|
* spNO_MEMORY
|
|
*/
|
|
|
|
-static
|
|
-RecordAllocation( Matrix, AllocatedPtr )
|
|
-
|
|
-MatrixPtr Matrix;
|
|
-char *AllocatedPtr;
|
|
+static void
|
|
+RecordAllocation( MatrixPtr Matrix, char *AllocatedPtr )
|
|
{
|
|
/* Begin `RecordAllocation'. */
|
|
/*
|
|
@@ -602,7 +599,7 @@ char *AllocatedPtr;
|
|
* spNO_MEMORY
|
|
*/
|
|
|
|
-static
|
|
+static void
|
|
AllocateBlockOfAllocationList( Matrix )
|
|
|
|
MatrixPtr Matrix;
|