ansi style function args for a function pointer arg of spInitialize()

This commit is contained in:
rlar 2010-07-10 14:06:14 +00:00
parent e07486df2a
commit a0b0f550ab
3 changed files with 9 additions and 2 deletions

View File

@ -1,3 +1,10 @@
2010-07-10 Robert Larice
* src/include/spmatrix.h ,
* src/maths/sparse/spbuild.c :
ansi style function args for a function pointer arg of spInitialize()
NOTE: split personality, user interface talks about `spREAL'
which is internally refered to as `RealNumber'
2010-07-10 Holger Vogt
* com_measure2.c: patch by Bill Swartz from 2010-07-04

View File

@ -270,7 +270,7 @@ extern char *spGetInitInfo( spREAL* );
extern int spGetOnes( void *, int, int, int, struct spTemplate* );
extern int spGetQuad( void *, int, int, int, int, struct spTemplate* );
extern int spGetSize( void *, int );
extern int spInitialize( void *, int (*)() );
extern int spInitialize( void *, int (*pInit)(spREAL*, char *InitInfo, int, int Col));
extern void spInstallInitInfo( spREAL*, void * );
extern spREAL spLargestElement( void * );
extern void spMNA_Preorder( void * );

View File

@ -1146,7 +1146,7 @@ spGetInitInfo(RealNumber *pElement)
int
spInitialize(void *eMatrix, int (*pInit)())
spInitialize(void *eMatrix, int (*pInit)(RealNumber*, char *InitInfo, int , int Col))
{
MatrixPtr Matrix = (MatrixPtr)eMatrix;
ElementPtr pElement;