pkgsrc/cad/fasthenry/patches/patch-ay
2012-12-25 21:14:17 +00:00

49 lines
1 KiB
Text
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-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;