From: Ross Paterson Date: Sun, 15 Jun 2008 22:44:13 +0000 (+0000) Subject: delete __hscore_{mkstemp,getrlimit,setrlimit} (moved to unix) X-Git-Tag: 6_10_branch_has_been_forked~148 X-Git-Url: http://git.megacz.com/?a=commitdiff_plain;h=c36326afbc21d6e8c8b73bffd5f926f23f16a127;p=ghc-base.git delete __hscore_{mkstemp,getrlimit,setrlimit} (moved to unix) --- diff --git a/include/HsBase.h b/include/HsBase.h index 7a059c8..f69e9cf 100644 --- a/include/HsBase.h +++ b/include/HsBase.h @@ -687,22 +687,6 @@ INLINE int __hscore_fstat(int fd, struct_stat *buf) { return (fstat(fd,buf)); } -#if !defined(__MINGW32__) -INLINE int __hscore_mkstemp(char *filetemplate) { - return (mkstemp(filetemplate)); -} -#endif - -#if !defined(__MINGW32__) && !defined(irix_HOST_OS) -INLINE int __hscore_getrlimit(int resource, struct rlimit *rlim) { - return (getrlimit(resource, rlim)); -} - -INLINE int __hscore_setrlimit(int resource, struct rlimit *rlim) { - return (setrlimit(resource, rlim)); -} -#endif - // select-related stuff #if !defined(__MINGW32__)