summaryrefslogtreecommitdiff
path: root/hurd
diff options
context:
space:
mode:
authorSamuel Thibault <samuel.thibault@ens-lyon.org>2016-11-01 13:38:41 +0100
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2016-11-01 13:38:41 +0100
commit2c7c42dc564f6b3c4c38fc7723e325a5fec1fa66 (patch)
tree495bfcceed125690b30f5bbbdc4616f2905c93b3 /hurd
parentbc7ec3a7fb632b685d9fe2dbd12be4be4d4fde82 (diff)
Do not expose __hurd_at_flags outside libc either
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,