Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
L
libcdi
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
mpim-sw
libcdi
Commits
c5bc48f6
Commit
c5bc48f6
authored
10 years ago
by
Thomas Jahns
Browse files
Options
Downloads
Patches
Plain Diff
Add missing const declarations.
parent
d203eb92
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
src/varscan.c
+1
-1
1 addition, 1 deletion
src/varscan.c
src/varscan.h
+1
-1
1 addition, 1 deletion
src/varscan.h
src/vlist.c
+2
-2
2 additions, 2 deletions
src/vlist.c
with
4 additions
and
4 deletions
src/varscan.c
+
1
−
1
View file @
c5bc48f6
...
...
@@ -821,7 +821,7 @@ int varDefGrid(int vlistID, grid_t grid, int mode)
}
int
zaxisCompare
(
int
zaxisID
,
int
zaxistype
,
int
nlevels
,
int
lbounds
,
double
*
levels
,
char
*
longname
,
char
*
units
,
int
ltype1
)
int
zaxisCompare
(
int
zaxisID
,
int
zaxistype
,
int
nlevels
,
int
lbounds
,
const
double
*
levels
,
char
*
longname
,
char
*
units
,
int
ltype1
)
{
int
differ
=
1
;
int
levelID
;
...
...
This diff is collapsed.
Click to expand it.
src/varscan.h
+
1
−
1
View file @
c5bc48f6
...
...
@@ -38,7 +38,7 @@ void varDefOptGribInt(int varID, long lval, const char *keyword);
void
varDefOptGribDbl
(
int
varID
,
double
dval
,
const
char
*
keyword
);
int
varOptGribNentries
(
int
varID
);
int
zaxisCompare
(
int
zaxisID
,
int
zaxistype
,
int
nlevels
,
int
lbounds
,
double
*
levels
,
char
*
longname
,
char
*
units
,
int
ltype
);
int
zaxisCompare
(
int
zaxisID
,
int
zaxistype
,
int
nlevels
,
int
lbounds
,
const
double
*
levels
,
char
*
longname
,
char
*
units
,
int
ltype
);
#endif
/*
...
...
This diff is collapsed.
Click to expand it.
src/vlist.c
+
2
−
2
View file @
c5bc48f6
...
...
@@ -444,8 +444,8 @@ void vlistClearFlag(int vlistID)
}
static
int
vlist_generate_zaxis
(
int
vlistID
,
int
zaxistype
,
int
nlevels
,
double
*
levels
,
double
*
lbounds
,
double
*
ubounds
,
int
vctsize
,
const
double
*
vct
)
int
vlist_generate_zaxis
(
int
vlistID
,
int
zaxistype
,
int
nlevels
,
const
double
*
levels
,
const
double
*
lbounds
,
const
double
*
ubounds
,
int
vctsize
,
const
double
*
vct
)
{
int
zaxisID
=
CDI_UNDEFID
;
int
zaxisglobdefined
=
0
;
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
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!
Save comment
Cancel
Please
register
or
sign in
to comment