convert K&R function definitions to ansi style

This commit is contained in:
rlar 2010-07-23 17:16:27 +00:00
parent 73cf2a8ea5
commit 3e95037b0e
2 changed files with 11 additions and 25 deletions

View File

@ -1,3 +1,7 @@
2010-07-23 Robert Larice
* src/maths/sparse/sputils.c :
convert K&R function definitions to ansi style
2010-07-20 Robert Larice
* src/frontend/com_option.c ,
* src/frontend/com_set.c ,

View File

@ -368,10 +368,7 @@ SwapCols( MatrixPtr Matrix, ElementPtr pTwin1, ElementPtr pTwin2 )
*/
void
spScale( eMatrix, RHS_ScaleFactors, SolutionScaleFactors )
char *eMatrix;
RealVector RHS_ScaleFactors, SolutionScaleFactors;
spScale(char *eMatrix, RealVector RHS_ScaleFactors, RealVector SolutionScaleFactors)
{
MatrixPtr Matrix = (MatrixPtr)eMatrix;
ElementPtr pElement;
@ -1040,9 +1037,7 @@ spDeterminant(void *eMatrix, int *pExponent, RealNumber *pDeterminant,
*/
void
spStripFills( eMatrix )
char *eMatrix;
spStripFills(char *eMatrix)
{
MatrixPtr Matrix = (MatrixPtr)eMatrix;
struct FillinListNodeStruct *pListNode;
@ -1114,9 +1109,7 @@ char *eMatrix;
* frame. This assumes that the matrix will be replaced with one of
* the same size. */
void
spStripMatrix( eMatrix )
char *eMatrix;
spStripMatrix(char *eMatrix)
{
MatrixPtr Matrix = (MatrixPtr)eMatrix;
@ -1408,11 +1401,7 @@ spPseudoCondition(char *eMatrix)
* spNO_MEMORY */
RealNumber
spCondition( eMatrix, NormOfMatrix, pError )
char *eMatrix;
RealNumber NormOfMatrix;
int *pError;
spCondition(char *eMatrix, RealNumber NormOfMatrix, int *pError)
{
MatrixPtr Matrix = (MatrixPtr)eMatrix;
ElementPtr pElement;
@ -1840,9 +1829,7 @@ int *pError;
*/
RealNumber
spNorm( eMatrix )
char *eMatrix;
spNorm(char *eMatrix)
{
MatrixPtr Matrix = (MatrixPtr)eMatrix;
ElementPtr pElement;
@ -1960,9 +1947,7 @@ char *eMatrix;
*/
RealNumber
spLargestElement( eMatrix )
char *eMatrix;
spLargestElement(char *eMatrix)
{
MatrixPtr Matrix = (MatrixPtr)eMatrix;
int I;
@ -2091,10 +2076,7 @@ char *eMatrix;
*/
RealNumber
spRoundoff( eMatrix, Rho )
char *eMatrix;
RealNumber Rho;
spRoundoff(char *eMatrix, RealNumber Rho)
{
MatrixPtr Matrix = (MatrixPtr)eMatrix;
ElementPtr pElement;