summaryrefslogtreecommitdiff
path: root/hurd
diff options
context:
space:
mode:
authorSamuel Thibault <samuel.thibault@ens-lyon.org>2016-11-01 13:39:15 +0100
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2016-11-01 13:39:15 +0100
commit2a501c9e3671201cc0d0f2469118459d70b887ba (patch)
treef7477a00de7f2f5a0e2e67b73cfa3ad1d84f0872 /hurd
parent4c039e7a7db3b57b2fa9a481051310f14e4badfa (diff)
parent27a9fc22ec58affdc1eb0cdb7cc55d9f3f95ac86 (diff)
Merge commit 'refs/top-bases/tschwinge/Roger_Whittaker' into 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,