summaryrefslogtreecommitdiff
path: root/libguile/filesys.c
diff options
context:
space:
mode:
authorMark H Weaver <mhw@netris.org>2014-02-12 17:47:13 -0500
committerMark H Weaver <mhw@netris.org>2014-02-12 20:53:29 -0500
commite1d7a93bb286d691069d47063d1ce5baabd7a35d (patch)
treeca593bd27c47bf3a1da679896deb1d73d161b622 /libguile/filesys.c
parentf9d4a040b4719fca2a433c01b680679d155ec981 (diff)
downloadguile-e1d7a93bb286d691069d47063d1ce5baabd7a35d.tar.gz
Rely on Gnulib for 'select', 'lstat', and 'mkstemp'.
* libguile/iselect.h: * libguile/threads.c: * libguile/deprecated.h: Rely on Gnulib for sys/select.h. * libguile/filesys.c: Rely on Gnulib for 'lstat' and 'mkstemp'.
Diffstat (limited to 'libguile/filesys.c')
-rw-r--r--libguile/filesys.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/libguile/filesys.c b/libguile/filesys.c
index 5f6208d82..c261928f5 100644
--- a/libguile/filesys.c
+++ b/libguile/filesys.c
@@ -561,7 +561,6 @@ SCM_DEFINE (scm_stat, "stat", 1, 1, 0,
}
#undef FUNC_NAME
-#ifdef HAVE_LSTAT
SCM_DEFINE (scm_lstat, "lstat", 1, 0, 0,
(SCM str),
"Similar to @code{stat}, but does not follow symbolic links, i.e.,\n"
@@ -584,7 +583,6 @@ SCM_DEFINE (scm_lstat, "lstat", 1, 0, 0,
return scm_stat2scm (&stat_temp);
}
#undef FUNC_NAME
-#endif /* HAVE_LSTAT */
#ifdef HAVE_POSIX
@@ -1467,10 +1465,6 @@ SCM_DEFINE (scm_umask, "umask", 0, 1, 0,
}
#undef FUNC_NAME
-#ifndef HAVE_MKSTEMP
-extern int mkstemp (char *);
-#endif
-
SCM_DEFINE (scm_mkstemp, "mkstemp!", 1, 0, 0,
(SCM tmpl),
"Create a new unique file in the file system and return a new\n"