diff options
author | Herbert Valerio Riedel <hvr@gnu.org> | 2016-01-30 18:23:15 +0100 |
---|---|---|
committer | Herbert Valerio Riedel <hvr@gnu.org> | 2016-01-30 18:23:15 +0100 |
commit | 03783d2758d2f35c01a8570da30f508c3b9e019b (patch) | |
tree | 722cb383471e7451516823849b012f9dc6b5ecdd /include | |
parent | cca358b86edc72bcb641fca362960917783b599e (diff) |
Replace `__hsunix_getpwent` wrapper with CApiFFI
Diffstat (limited to 'include')
-rw-r--r-- | include/HsUnix.h | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/include/HsUnix.h b/include/HsUnix.h index 87ac3e6..8b468b7 100644 --- a/include/HsUnix.h +++ b/include/HsUnix.h @@ -113,11 +113,6 @@ fall back to O_FSYNC, which should be the same */ # define WCOREDUMP(s) 0 #endif -#ifdef HAVE_GETPWENT -// getpwent is a macro on some platforms, so we need a wrapper: -struct passwd *__hsunix_getpwent(void); -#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, |