aboutsummaryrefslogtreecommitdiff
path: root/libstore/store.h
diff options
context:
space:
mode:
authorThomas Bushnell <thomas@gnu.org>1996-10-24 19:29:04 +0000
committerThomas Bushnell <thomas@gnu.org>1996-10-24 19:29:04 +0000
commite55ef2526c963f88b0cfe1f39dab0131377a1ae4 (patch)
tree8fec4f621bdab95e08c5faa7addad52eba5bc741 /libstore/store.h
parent592615ea7df69c2728362bd4238730d050c07312 (diff)
downloadhurd-e55ef2526c963f88b0cfe1f39dab0131377a1ae4.tar.gz
hurd-e55ef2526c963f88b0cfe1f39dab0131377a1ae4.tar.bz2
hurd-e55ef2526c963f88b0cfe1f39dab0131377a1ae4.zip
Mon Oct 21 22:03:19 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
* store.h: Add extern inline protection. * store.c: New file. * Makefile (SRCS): Add store.c.
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;