Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
mpim-sw
cdo
Commits
9ae7c8ea
Commit
9ae7c8ea
authored
Oct 12, 2015
by
Uwe Schulzweida
Browse files
Importobs.c: change char* to const char*
parent
1c74c37d
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/Importobs.c
View file @
9ae7c8ea
...
...
@@ -31,8 +31,8 @@ static
void
init_vars
(
int
vlistID
,
int
gridID
,
int
zaxisID
,
int
nvars
)
{
int
code
[]
=
{
11
,
17
,
33
,
34
,
1
,
2
/*, 3*/
};
char
*
name
[]
=
{
"temp"
,
"depoint"
,
"u"
,
"v"
,
"height"
,
"pressure"
/*, "station"*/
};
char
*
units
[]
=
{
"Celsius"
,
""
,
"m/s"
,
"m/s"
,
"m"
,
"hPa"
/*, ""*/
};
const
char
*
name
[]
=
{
"temp"
,
"depoint"
,
"u"
,
"v"
,
"height"
,
"pressure"
/*, "station"*/
};
const
char
*
units
[]
=
{
"Celsius"
,
""
,
"m/s"
,
"m/s"
,
"m"
,
"hPa"
/*, ""*/
};
int
varID
;
for
(
int
i
=
0
;
i
<
nvars
;
++
i
)
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a 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