aboutsummaryrefslogtreecommitdiffhomepage
path: root/include
diff options
context:
space:
mode:
authorGravatar Herbert Valerio Riedel <hvr@gnu.org>2016-01-31 00:43:21 +0100
committerGravatar Herbert Valerio Riedel <hvr@gnu.org>2016-01-31 00:43:21 +0100
commit91b82383873b46385d239f2b059f353b11f07e0f (patch)
tree9a182bddec448371f9d4fab804a79f2f7cad26a5 /include
parent3e32e3912254b5b13ce27715cbd369e5e4b33241 (diff)
Replace `__hsunix_getpw{nam,uid_r}` wrappers with CApiFFI
Diffstat (limited to 'include')
-rw-r--r--include/HsUnix.h12
1 files changed, 0 insertions, 12 deletions
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);