Commit e0838ab1 authored by Uwe Schulzweida's avatar Uwe Schulzweida
Browse files

vlist_check_contents: changed argument type to vlistID

parent 557a1b26
......@@ -452,7 +452,7 @@ void extScanTimestep1(int streamID)
vlistID = streamInqVlist(streamID);
vlistDefTaxis(vlistID, taxisID);
cdiCheckContents(streamID);
vlist_check_contents(vlistID);
nrecords = streamptr->tsteps[0].nallrecs;
if ( nrecords < streamptr->tsteps[0].recordSize )
......
......@@ -970,7 +970,7 @@ void iegScanTimestep1(int streamID)
vlistID = streamInqVlist(streamID);
vlistDefTaxis(vlistID, taxisID);
cdiCheckContents(streamID);
vlist_check_contents(vlistID);
nrecords = streamptr->tsteps[0].nallrecs;
if ( nrecords < streamptr->tsteps[0].recordSize )
......
......@@ -423,17 +423,10 @@ double cdiInqMissval(void)
}
void cdiCheckContents(int streamID)
void vlist_check_contents(int vlistID)
{
int index, nzaxis, zaxisID;
int vlistID;
stream_t *streamptr;
streamptr = ( stream_t *) reshGetVal ( streamID, &streamOps );
stream_check_ptr(__func__, streamptr);
vlistID = streamInqVlist(streamID);
nzaxis = vlistNzaxis(vlistID);
for ( index = 0; index < nzaxis; index++ )
......
......@@ -293,7 +293,7 @@ char *strfiletype(int filetype);
void cdi_generate_vars(stream_t *streamptr);
void cdiCheckContents(int streamID);
void vlist_check_contents(int vlistID);
void cdiCreateRecords(int streamID, int tsID);
......
......@@ -453,7 +453,7 @@ void srvScanTimestep1(int streamID)
vlistID = streamptr->vlistID;
vlistDefTaxis(vlistID, taxisID);
cdiCheckContents(streamID);
vlist_check_contents(vlistID);
nrecords = streamptr->tsteps[0].nallrecs;
if ( nrecords < streamptr->tsteps[0].recordSize )
......
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