Commit 37c43a61 authored by Uwe Schulzweida's avatar Uwe Schulzweida
Browse files

Renamed set_calendar() to cdf_set_calendar().

parent 288ee20d
...@@ -337,7 +337,7 @@ void cdf_set_zaxistype(const char *attstring, int *zaxistype) ...@@ -337,7 +337,7 @@ void cdf_set_zaxistype(const char *attstring, int *zaxistype)
} }
void set_calendar(const char *attstring, int *calendar) void cdf_set_calendar(const char *attstring, int *calendar)
{ {
// clang-format off // clang-format off
if (strStartsWith(attstring, "standard")) *calendar = CALENDAR_STANDARD; if (strStartsWith(attstring, "standard")) *calendar = CALENDAR_STANDARD;
......
...@@ -23,6 +23,6 @@ bool is_y_axis(const char *units, const char *stdname); ...@@ -23,6 +23,6 @@ bool is_y_axis(const char *units, const char *stdname);
void set_gridtype(const char *attstring, int *gridtype); void set_gridtype(const char *attstring, int *gridtype);
void cdf_set_zaxistype(const char *attstring, int *zaxistype); void cdf_set_zaxistype(const char *attstring, int *zaxistype);
void set_calendar(const char *attstring, int *calendar); void cdf_set_calendar(const char *attstring, int *calendar);
#endif #endif
...@@ -4183,7 +4183,7 @@ int cdfInqContents(stream_t *streamptr) ...@@ -4183,7 +4183,7 @@ int cdfInqContents(stream_t *streamptr)
char attstring[1024]; char attstring[1024];
cdfGetAttText(fileID, nctimevarid, "calendar", sizeof(attstring), attstring); cdfGetAttText(fileID, nctimevarid, "calendar", sizeof(attstring), attstring);
strToLower(attstring); strToLower(attstring);
set_calendar(attstring, &calendar); cdf_set_calendar(attstring, &calendar);
} }
int taxisID; int taxisID;
......
Markdown is supported
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