diff options
author | Paul Eggert <eggert@cs.ucla.edu> | 2012-08-29 21:09:50 -0700 |
---|---|---|
committer | Paul Eggert <eggert@cs.ucla.edu> | 2012-09-22 01:58:23 -0700 |
commit | d202279380436696dc5889edcf07ad92ef59f541 (patch) | |
tree | 6369a1f36470aabbc4aca250ffe0651fee2a5673 /modules/fchownat | |
parent | 32d8297adbb0fc03f1e0706005e144c7f498507c (diff) | |
download | gnulib-d202279380436696dc5889edcf07ad92ef59f541.tar.gz |
fchmodat, fchownat, fstatat: use extern-inline
* lib/fchmodat.c, lib/openat.h (FCHMODAT_INLINE):
* lib/fchownat.c, lib/openat.h (FCHOWNAT_INLINE):
* lib/fstatat.c, lib/openat.h (FSTATAT_INLINE):
New macros.
* lib/openat.h:
Replace all uses of 'static inline' with them.
Use _GL_INLINE_HEADER_BEGIN, _GL_INLINE_HEADER_END.
* modules/fchmodat, modules/fchownat, modules/fstatat:
* modules/openat-h:
(Depends-on):
Add extern-inline.
(configure.ac): Remove AC_C_INLINE.
Diffstat (limited to 'modules/fchownat')
-rw-r--r-- | modules/fchownat | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/fchownat b/modules/fchownat index 886b6b36e8..7fba3edc20 100644 --- a/modules/fchownat +++ b/modules/fchownat @@ -13,6 +13,7 @@ extensions at-internal [test $HAVE_FCHOWNAT = 0 || test $REPLACE_FCHOWNAT = 1] dosname [test $HAVE_FCHOWNAT = 0 || test $REPLACE_FCHOWNAT = 1] errno [test $HAVE_FCHOWNAT = 0 || test $REPLACE_FCHOWNAT = 1] +extern-inline [test $HAVE_FCHOWNAT = 0 || test $REPLACE_FCHOWNAT = 1] fchdir [test $HAVE_FCHOWNAT = 0 || test $REPLACE_FCHOWNAT = 1] fcntl-h [test $HAVE_FCHOWNAT = 0 || test $REPLACE_FCHOWNAT = 1] lchown [test $HAVE_FCHOWNAT = 0 || test $REPLACE_FCHOWNAT = 1] @@ -26,7 +27,6 @@ gl_FUNC_FCHOWNAT if test $HAVE_FCHOWNAT = 0 || test $REPLACE_FCHOWNAT = 1; then AC_LIBOBJ([fchownat]) fi -AC_REQUIRE([AC_C_INLINE]) dnl because 'inline' is used in lib/openat.h gl_MODULE_INDICATOR([fchownat]) dnl for lib/openat.h gl_UNISTD_MODULE_INDICATOR([fchownat]) |