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 /lib/fchmodat.c | |
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 'lib/fchmodat.c')
-rw-r--r-- | lib/fchmodat.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/fchmodat.c b/lib/fchmodat.c index ce848fd4ee..b1940d5556 100644 --- a/lib/fchmodat.c +++ b/lib/fchmodat.c @@ -18,6 +18,8 @@ #include <config.h> +#include FCHMODAT_INLINE _GL_EXTERN_INLINE + #include <sys/stat.h> #include <errno.h> |