blob: 8c4c50ee9a1d19f1d81a8216a1e5569eef32300b [file] [log] [blame]
/*
* closedir() replacement for MSVC.
*/
#define WIN32IO_IS_STDIO
#include <net-snmp/net-snmp-config.h>
#include <net-snmp/types.h>
#include <net-snmp/library/system.h>
/*
* free the memory allocated by opendir
*/
int
closedir(DIR * dirp)
{
free(dirp->start);
free(dirp);
return 1;
}