Commit 9ae7c8ea authored by Uwe Schulzweida's avatar Uwe Schulzweida
Browse files

Importobs.c: change char* to const char*

parent 1c74c37d
...@@ -31,8 +31,8 @@ static ...@@ -31,8 +31,8 @@ static
void init_vars(int vlistID, int gridID, int zaxisID, int nvars) void init_vars(int vlistID, int gridID, int zaxisID, int nvars)
{ {
int code[] = {11, 17, 33, 34, 1, 2/*, 3*/}; int code[] = {11, 17, 33, 34, 1, 2/*, 3*/};
char *name[] = {"temp", "depoint", "u", "v", "height", "pressure" /*, "station"*/}; const char *name[] = {"temp", "depoint", "u", "v", "height", "pressure" /*, "station"*/};
char *units[] = {"Celsius", "", "m/s", "m/s", "m", "hPa" /*, ""*/}; const char *units[] = {"Celsius", "", "m/s", "m/s", "m", "hPa" /*, ""*/};
int varID; int varID;
for ( int i = 0; i < nvars; ++i ) for ( int i = 0; i < nvars; ++i )
......
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