summaryrefslogtreecommitdiff
path: root/lib/fts.c
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2012-11-20 22:25:09 -0800
committerPaul Eggert <eggert@cs.ucla.edu>2012-11-29 23:38:56 -0800
commit0c4b4008b957a62c40e3c55c178e71977bc0d351 (patch)
tree9f3fdd14dfaf99d9c49d93ed3b5e324c8fd14492 /lib/fts.c
parente16561484b19d960cbb07bd82033155b2979c4f0 (diff)
downloadgnulib-0c4b4008b957a62c40e3c55c178e71977bc0d351.tar.gz
ftruncate, fts, lstat, openat, raise: no 'static inline'
* lib/ftruncate.c (chsize_nothrow): * lib/fts.c (opendirat, diropen): * lib/lstat.c (orig_lstat): * lib/openat.c (orig_openat): * lib/raise.c (raise_nothrow): Now static, not static inline. * m4/ftruncate.m4 (gl_PREREQ_FTRUNCATE): * m4/fts.m4 (gl_FUNC_FTS_CORE): * m4/lstat.m4 (gl_PREREQ_LSTAT): * m4/openat.m4 (gl_PREREQ_OPENAT): * m4/raise.m4 (gl_PREREQ_RAISE): Do not require AC_C_INLINE.
Diffstat (limited to 'lib/fts.c')
-rw-r--r--lib/fts.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/fts.c b/lib/fts.c
index 9c38c4fd71..6d8b9dc8a7 100644
--- a/lib/fts.c
+++ b/lib/fts.c
@@ -290,7 +290,7 @@ fts_set_stat_required (FTSENT *p, bool required)
/* file-descriptor-relative opendir. */
/* FIXME: if others need this function, move it into lib/openat.c */
-static inline DIR *
+static DIR *
internal_function
opendirat (int fd, char const *dir, int extra_flags, int *pdir_fd)
{
@@ -360,7 +360,7 @@ restore_initial_cwd (FTS *sp)
descriptor. Return -1 and set errno on failure. It doesn't matter
whether the file descriptor has read or write access. */
-static inline int
+static int
internal_function
diropen (FTS const *sp, char const *dir)
{