From e55ef2526c963f88b0cfe1f39dab0131377a1ae4 Mon Sep 17 00:00:00 2001 From: Thomas Bushnell Date: Thu, 24 Oct 1996 19:29:04 +0000 Subject: Mon Oct 21 22:03:19 1996 Thomas Bushnell, n/BSG * store.h: Add extern inline protection. * store.c: New file. * Makefile (SRCS): Add store.c. --- libstore/store.h | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'libstore/store.h') 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 #include #include + +#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; -- cgit v1.2.3