diff options
-rw-r--r-- | libstore/create.c | 17 |
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; |