summaryrefslogtreecommitdiff
path: root/hurd
diff options
context:
space:
mode:
authorSamuel Thibault <samuel.thibault@ens-lyon.org>2016-11-01 13:39:10 +0100
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2016-11-01 13:39:10 +0100
commit5e06b025dfb0038e9bb7904ba6543b688da37ead (patch)
tree1777668bd13be1d9765e2d2ccbec31d392168fb5 /hurd
parent5d7473cc3de9f3ca6b44b8800d34b049a41cc2a7 (diff)
parent2c7c42dc564f6b3c4c38fc7723e325a5fec1fa66 (diff)
Merge branch 't/extern_inline' into refs/top-bases/tschwinge/Roger_Whittaker
Diffstat (limited to 'hurd')
-rw-r--r--hurd/hurd/fd.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/hurd/hurd/fd.h b/hurd/hurd/fd.h
index 40b965c036..e75cb146fa 100644
--- a/hurd/hurd/fd.h
+++ b/hurd/hurd/fd.h
@@ -280,6 +280,8 @@ extern int _hurd_select (int nfds, struct pollfd *pollfds,
/* Apply AT_FLAGS on FLAGS, in preparation for calling
__hurd_file_name_lookup. */
+#if defined __USE_EXTERN_INLINES && defined _LIBC
+# if IS_IN (libc)
_HURD_FD_H_EXTERN_INLINE error_t
__hurd_at_flags (int *at_flags, int *flags)
{
@@ -296,6 +298,8 @@ __hurd_at_flags (int *at_flags, int *flags)
return 0;
}
+# endif
+#endif
/* Variant of file_name_lookup used in *at function implementations.
AT_FLAGS may only contain AT_SYMLINK_FOLLOW or AT_SYMLINK_NOFOLLOW,