summaryrefslogtreecommitdiff
path: root/modules/savewd
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2012-11-20 22:25:08 -0800
committerPaul Eggert <eggert@cs.ucla.edu>2012-11-29 23:38:53 -0800
commite4b23b86811ef9aa8775c7e86d3abfaaebde488f (patch)
tree27a839350a2a46e7bd476cc48cba7fc353e18fdf /modules/savewd
parent048e39bedd6462f48d29df2aee9091895e04bd4a (diff)
downloadgnulib-e4b23b86811ef9aa8775c7e86d3abfaaebde488f.tar.gz
chdir-long, cycle-check, savewd: better 'inline'
* lib/chdir-long.c (cdb_init, cdb_fchdir, cdb_free) (find_non_slash): * lib/cycle-check.c (is_zero_or_power_of_two): * lib/savewd.c (savewd_delegating): Change 'static inline' to 'inline'. * lib/savewd.c, lib/savewd.h (SAVEWD_INLINE): New macro. Replace all remaining uses of 'static inline' with it. * lib/savewd.h: Use _GL_INLINE_HEADER_BEGIN, _GL_INLINE_HEADER_END. * m4/chdir-long.m4 (gl_PREREQ_CHDIR_LONG): * m4/cycle-check.m4 (gl_CYCLE_CHECK): * m4/savewd.m4 (gl_SAVEWD): Do not require AC_C_INLINE. * modules/savewd (Depends-on): Add extern-inline.
Diffstat (limited to 'modules/savewd')
-rw-r--r--modules/savewd1
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/savewd b/modules/savewd
index bb48c06e5a..b7a9feefbb 100644
--- a/modules/savewd
+++ b/modules/savewd
@@ -10,6 +10,7 @@ Depends-on:
chdir
dosname
errno
+extern-inline
fchdir
fcntl-safer
fcntl-h