aboutsummaryrefslogtreecommitdiff
path: root/libstore/store.h
diff options
context:
space:
mode:
Diffstat (limited to 'libstore/store.h')
-rw-r--r--libstore/store.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/libstore/store.h b/libstore/store.h
index 5be3862c..437f9c83 100644
--- a/libstore/store.h
+++ b/libstore/store.h
@@ -29,6 +29,11 @@
#include <mach.h>
#include <device/device.h>
#include <hurd/hurd_types.h>
+
+#ifndef STORE_EI
+#define STORE_EI extern inline
+#endif
+
/* A portion of a store. If START == -1, it's a hole. */
struct store_run
@@ -247,7 +252,7 @@ error_t store_clear_child_flags (struct store *store, int flags);
/* Returns true if STORE can safely be returned to a user who has accessed it
via a node using OPEN_FLAGS, without compromising security. */
-extern inline int
+STORE_EI int
store_is_securely_returnable (struct store *store, int open_flags)
{
int flags = store->flags;