/* Close the file descriptors for the sequential and random streams, but don't discard any information about those streams. Used on Windows if we need to rename a file that we have open or if we need to rename on top of a file we have open.  */
void wtap_fdclose(wtap *wth)
/* Close the file descriptors for the sequential and random streams, but don't discard any information about those streams. Used on Windows if we need to rename a file that we have open or if we need to rename on top of a file we have open.  */
void wtap_fdclose(wtap *wth)
{
	if (wth->fh != NULL)
		file_fdclose(wth->fh);
	if (wth->random_fh != NULL)
		file_fdclose(wth->random_fh);
}