From b495e1d862411c731bf9374e2db949dfb3442fd4 Mon Sep 17 00:00:00 2001 From: Herbert Valerio Riedel Date: Sun, 31 Jan 2016 13:30:15 +0100 Subject: Use `#const` rather than FFI wrapper for PATH_MAX This has the side-effect of making two more modules `Safe`-inferred --- include/HsUnix.h | 6 ------ 1 file changed, 6 deletions(-) (limited to 'include') diff --git a/include/HsUnix.h b/include/HsUnix.h index dcd0c4a..1273452 100644 --- a/include/HsUnix.h +++ b/include/HsUnix.h @@ -116,10 +116,4 @@ fall back to O_FSYNC, which should be the same */ // push a SVR4 STREAMS module; do nothing if STREAMS not available int __hsunix_push_module(int fd, const char *module); -/* A size that will contain many path names, but not necessarily all - * (PATH_MAX is not defined on systems with unlimited path length, - * e.g. the Hurd). - */ -HsInt __hsunix_long_path_size(); - #endif -- cgit v1.2.3