summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libstore/ChangeLog6
-rw-r--r--libstore/Makefile2
-rw-r--r--libstore/store.c2
-rw-r--r--libstore/store.h7
4 files changed, 15 insertions, 2 deletions
diff --git a/libstore/ChangeLog b/libstore/ChangeLog
index 79bbf746..35ff5fb5 100644
--- a/libstore/ChangeLog
+++ b/libstore/ChangeLog
@@ -1,3 +1,9 @@
+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.
+
Tue Oct 8 14:31:51 1996 Miles Bader <miles@gnu.ai.mit.edu>
* kids.c (store_set_child_flags, store_clear_child_flags): New funcs.
diff --git a/libstore/Makefile b/libstore/Makefile
index a7127ac7..a8ea3956 100644
--- a/libstore/Makefile
+++ b/libstore/Makefile
@@ -25,7 +25,7 @@ makemode := library
libname = libstore
SRCS = create.c derive.c make.c rdwr.c set.c device.c file.c stripe.c \
storeread.c storecat.c enc.c encode.c decode.c clone.c argp.c \
- std.c kids.c zero.c flags.c open.c remap.c
+ std.c kids.c zero.c flags.c open.c remap.c store.c
LCLHDRS=store.h
installhdrs=store.h
diff --git a/libstore/store.c b/libstore/store.c
new file mode 100644
index 00000000..a603d621
--- /dev/null
+++ b/libstore/store.c
@@ -0,0 +1,2 @@
+#define STORE_EI
+#include "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 <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;