avoid a space leak building up in the "prodding" IORef (part of #2992)
[ghc-base.git] / include / dirUtils.h
index b726402..87a3041 100644 (file)
@@ -5,16 +5,9 @@
  */
 #ifndef __DIRUTILS_H__
 #define __DIRUTILS_H__
+#include <sys/types.h>
+#include <dirent.h>
 
 extern int __hscore_readdir(DIR *dirPtr, struct dirent **pDirEnt);
-extern int __hscore_renameFile(char *src, char *dest);
-
-#if defined(_MSC_VER) || defined(__MINGW32__) || defined(_WIN32)
-extern int __hscore_getFolderPath(HWND hwndOwner,
-                                 int nFolder,
-                                 HANDLE hToken,
-                                 DWORD dwFlags,
-                                 char*  pszPath);
-#endif
 
 #endif /* __DIRUTILS_H__ */