diff options
author | Thomas Bushnell <thomas@gnu.org> | 1996-10-24 19:29:04 +0000 |
---|---|---|
committer | Thomas Bushnell <thomas@gnu.org> | 1996-10-24 19:29:04 +0000 |
commit | e55ef2526c963f88b0cfe1f39dab0131377a1ae4 (patch) | |
tree | 8fec4f621bdab95e08c5faa7addad52eba5bc741 /libstore | |
parent | 592615ea7df69c2728362bd4238730d050c07312 (diff) |
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')
-rw-r--r-- | libstore/ChangeLog | 6 | ||||
-rw-r--r-- | libstore/Makefile | 2 | ||||
-rw-r--r-- | libstore/store.c | 2 | ||||
-rw-r--r-- | libstore/store.h | 7 |
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; |