From 91b82383873b46385d239f2b059f353b11f07e0f Mon Sep 17 00:00:00 2001 From: Herbert Valerio Riedel Date: Sun, 31 Jan 2016 00:43:21 +0100 Subject: Replace `__hsunix_getpw{nam,uid_r}` wrappers with CApiFFI --- include/HsUnix.h | 12 ------------ 1 file changed, 12 deletions(-) (limited to 'include') diff --git a/include/HsUnix.h b/include/HsUnix.h index 5daff0c..2f77d28 100644 --- a/include/HsUnix.h +++ b/include/HsUnix.h @@ -113,18 +113,6 @@ fall back to O_FSYNC, which should be the same */ # define WCOREDUMP(s) 0 #endif -#if HAVE_GETPWNAM_R -// getpwnam_r is a macro on some platforms, so we need a wrapper: -int __hsunix_getpwnam_r(const char *, struct passwd *, char *, size_t, - struct passwd **); -#endif - -#ifdef HAVE_GETPWUID_R -// getpwuid_r is a macro on some platforms, so we need a wrapper: -int __hsunix_getpwuid_r(uid_t, struct passwd *, char *, size_t, - struct passwd **); -#endif - #ifdef HAVE_PTSNAME char *__hsunix_ptsname(int fd); int __hsunix_grantpt(int fd); -- cgit v1.2.3