summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMiles Bader <miles@gnu.org>1996-05-10 17:31:02 +0000
committerMiles Bader <miles@gnu.org>1996-05-10 17:31:02 +0000
commit48dee4ea42de87705260fb149e6ac223ca333ba8 (patch)
treececfed263610d96f36e6742c0fff5b315a665ce0
parent0f427c7a9fa4ae462c56fb8ec0f0fd36224de8c6 (diff)
(store_create): Use the real file_get_storage_info.
(fgsi): Function removed.
-rw-r--r--libstore/create.c17
1 files changed, 3 insertions, 14 deletions
diff --git a/libstore/create.c b/libstore/create.c
index ad23a7e7..8c288bc9 100644
--- a/libstore/create.c
+++ b/libstore/create.c
@@ -24,16 +24,6 @@
#include "store.h"
-static error_t
-fgsi (file_t source,
- mach_port_t **ports, mach_msg_type_number_t *num_ports,
- int **ints, mach_msg_type_number_t *num_ints,
- off_t **offsets, mach_msg_type_number_t *num_offsets,
- char **data, mach_msg_type_number_t *num_data)
-{
- return EOPNOTSUPP;
-}
-
/* Return a new store in STORE, which refers to the storage underlying
SOURCE. A reference to SOURCE is created (but may be destroyed with
store_close_source). */
@@ -49,11 +39,10 @@ error_t store_create (file_t source, struct store **store)
store_enc_init (&enc, inline_ports, 10, inline_ints, 60,
inline_offsets, 60, inline_data, 100);
-#define file_get_storage_info fgsi /* XXX */
err = file_get_storage_info (source,
- &enc.ports, &enc.ports_len,
- &enc.ints, &enc.ints_len,
- &enc.offsets, &enc.offsets_len,
+ &enc.ports, &enc.num_ports,
+ &enc.ints, &enc.num_ints,
+ &enc.offsets, &enc.num_offsets,
&enc.data, &enc.data_len);
if (err)
return err;