Skip to content
Snippets Groups Projects
Commit 04c9a7f5 authored by Oliver Sander's avatar Oliver Sander
Browse files

more consts to calm gcc 4.2

[[Imported from SVN: r8322]]
parent 6fdf4e20
No related branches found
No related tags found
No related merge requests found
......@@ -951,7 +951,7 @@ INT NS_DIM_PREFIX ReadVecTypeOrder (const FORMAT *fmt, char *str, INT n, INT Max
*/
/****************************************************************************/
INT NS_DIM_PREFIX ReadVecTypeNUMPROCs (const MULTIGRID *theMG, char *str, char *class_name, INT n, INT nNUMPROC[MAXVECTORS], NP_BASE *theNUMPROCs[][MAXVECTORS])
INT NS_DIM_PREFIX ReadVecTypeNUMPROCs (const MULTIGRID *theMG, char *str, const char *class_name, INT n, INT nNUMPROC[MAXVECTORS], NP_BASE *theNUMPROCs[][MAXVECTORS])
{
FORMAT *fmt;
char *s,*tok,*typetok[MAXVECTORS];
......
......@@ -104,7 +104,7 @@ NP_BASE *ReadArgvNumProc (MULTIGRID *theMG, const char *n
INT ReadVecTypeINTs (const FORMAT *fmt, char *str, INT n, INT nINT[MAXVECTORS], INT theINTs[][MAXVECTORS]);
INT ReadVecTypeDOUBLEs (const FORMAT *fmt, char *str, INT n, INT nDOUBLE[MAXVECTORS], DOUBLE theDOUBLEs[][MAXVECTORS]);
INT ReadVecTypeOrder (const FORMAT *fmt, char *str, INT n, INT MaxPerType, INT *nOrder, INT theOrder[]);
INT ReadVecTypeNUMPROCs (const MULTIGRID *theMG, char *str, char *class_name, INT n, INT nNUMPROC[MAXVECTORS], NP_BASE *theNUMPROCs[][MAXVECTORS]);
INT ReadVecTypeNUMPROCs (const MULTIGRID *theMG, char *str, const char *class_name, INT n, INT nNUMPROC[MAXVECTORS], NP_BASE *theNUMPROCs[][MAXVECTORS]);
/* tools for VEC_SCALAR */
INT sc_read (VEC_SCALAR x, const FORMAT *fmt, const VECDATA_DESC *theVD, const char *name, INT argc, char **argv);
......
......@@ -409,7 +409,7 @@ INT NS_DIM_PREFIX PrepareEPCR (EVECDATA_DESC *Vsym, INT DispMode, const char *te
*/
/*************************************************************************/
INT NS_DIM_PREFIX PostPCR (INT ID, char *path)
INT NS_DIM_PREFIX PostPCR (INT ID, const char *path)
{
INT i;
char name[10];
......
......@@ -80,7 +80,7 @@ INT GetStrINTinRange (const char *str
INT GetStrDOUBLEinRange (const char *str, DOUBLE min, DOUBLE max, DOUBLE *value);
INT PreparePCR (VECDATA_DESC *Vsym, INT DispMode, const char *text, INT *ID);
INT PrepareEPCR (EVECDATA_DESC *Vsym, INT DispMode, const char *text, INT *ID);
INT PostPCR (INT ID, char *path);
INT PostPCR (INT ID, const char *path);
INT DoPCR (INT ID, VEC_SCALAR Defect, INT PrintMode);
END_UGDIM_NAMESPACE
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment