Commit 9abf82f5 authored by Thomas Jahns's avatar Thomas Jahns 🤸
Browse files

Add missing static/const declarations.

parent e9aff550
......@@ -212,7 +212,8 @@ int gridSize(void)
}
void gridGenXvals(int xsize, double xfirst, double xlast, double xinc, double *xvals)
static void
gridGenXvals(int xsize, double xfirst, double xlast, double xinc, double *xvals)
{
if ( (! (fabs(xinc) > 0)) && xsize > 1 )
{
......@@ -253,9 +254,10 @@ void calc_gaussgrid(double *yvals, int ysize, double yfirst, double ylast)
}
void gridGenYvals(int gridtype, int ysize, double yfirst, double ylast, double yinc, double *yvals)
static void
gridGenYvals(int gridtype, int ysize, double yfirst, double ylast, double yinc, double *yvals)
{
double deleps = 0.002;
const double deleps = 0.002;
if ( gridtype == GRID_GAUSSIAN || gridtype == GRID_GAUSSIAN_REDUCED )
{
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment