Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
mpim-sw
libcdi
Commits
9abf82f5
Commit
9abf82f5
authored
Aug 21, 2014
by
Thomas Jahns
🤸
Browse files
Add missing static/const declarations.
parent
e9aff550
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/grid.c
View file @
9abf82f5
...
...
@@ -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
)
{
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment