aboutsummaryrefslogtreecommitdiffhomepage
path: root/include
diff options
context:
space:
mode:
authorGravatar Herbert Valerio Riedel <hvr@gnu.org>2016-01-31 00:01:18 +0100
committerGravatar Herbert Valerio Riedel <hvr@gnu.org>2016-01-31 00:19:53 +0100
commit2ddf4b2b7bf41f878bc7d8a1afa49126710f524c (patch)
tree5588e4cfd849d6c6bfc6efa4d7764b9a34e9b2e4 /include
parent2a49ad87b7b5d92bf62035d410c4bcde817d30a6 (diff)
Avoid redundant prototypes for ptsname(3) et al
This is now possible since we now use `AC_USE_SYSTEM_EXTENSIONS`, which indirectly enables _XOPEN_SOURCE
Diffstat (limited to 'include')
-rw-r--r--include/HsUnix.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/include/HsUnix.h b/include/HsUnix.h
index 7b404fc..98990b2 100644
--- a/include/HsUnix.h
+++ b/include/HsUnix.h
@@ -126,10 +126,6 @@ int __hsunix_getpwuid_r(uid_t, struct passwd *, char *, size_t,
#endif
#ifdef HAVE_PTSNAME
-// I cannot figure out how to make the definitions of the following
-// functions visible in <stdlib.h> on Linux. But these definitions
-// follow the POSIX specs, and everything links and runs.
-
char *__hsunix_ptsname(int fd);
int __hsunix_grantpt(int fd);
int __hsunix_unlockpt(int fd);