diff options
-rw-r--r-- | ffi.c | 10 | ||||
-rw-r--r-- | hash.c | 4 | ||||
-rw-r--r-- | lib.c | 2 | ||||
-rw-r--r-- | lib.h | 2 | ||||
-rw-r--r-- | parser.c | 2 | ||||
-rw-r--r-- | rand.c | 2 | ||||
-rw-r--r-- | regex.c | 4 | ||||
-rw-r--r-- | socket.c | 2 | ||||
-rw-r--r-- | stream.c | 24 | ||||
-rw-r--r-- | struct.c | 2 | ||||
-rw-r--r-- | sysif.c | 2 | ||||
-rw-r--r-- | syslog.c | 2 | ||||
-rw-r--r-- | unwind.c | 2 |
13 files changed, 30 insertions, 30 deletions
@@ -165,21 +165,21 @@ static struct cobj_ops ffi_type_builtin_ops = ffi_type_print_op, cobj_destroy_free_op, cobj_mark_op, - cobj_hash_op); + cobj_eq_hash_op); static struct cobj_ops ffi_type_struct_ops = cobj_ops_init(eq, ffi_type_print_op, ffi_type_struct_destroy_op, ffi_struct_type_mark, - cobj_hash_op); + cobj_eq_hash_op); static struct cobj_ops ffi_type_ptr_ops = cobj_ops_init(eq, ffi_type_print_op, cobj_destroy_free_op, ffi_ptr_type_mark, - cobj_hash_op); + cobj_eq_hash_op); struct txr_ffi_closure { ffi_closure *clo; @@ -234,7 +234,7 @@ static struct cobj_ops ffi_closure_ops = ffi_closure_print_op, ffi_closure_destroy_op, ffi_closure_mark_op, - cobj_hash_op); + cobj_eq_hash_op); static void ffi_void_put(struct txr_ffi_type *tft, val n, mem_t *dst, val self) { @@ -1881,7 +1881,7 @@ static struct cobj_ops ffi_call_desc_ops = ffi_call_desc_print_op, ffi_call_desc_destroy_op, ffi_call_desc_mark_op, - cobj_hash_op); + cobj_eq_hash_op); val ffi_make_call_desc(val ntotal, val nfixed, val rettype, val argtypes) { @@ -274,7 +274,7 @@ static cnum eql_hash(val obj, int *count) abort(); } -cnum cobj_hash_op(val obj, int *count) +cnum cobj_eq_hash_op(val obj, int *count) { (void) count; @@ -843,7 +843,7 @@ static struct cobj_ops hash_iter_ops = cobj_ops_init(eq, cobj_print_op, cobj_destroy_free_op, hash_iter_mark, - cobj_hash_op); + cobj_eq_hash_op); val hash_begin(val hash) { @@ -7394,7 +7394,7 @@ static struct cobj_ops cptr_ops = { cobj_print_op, cobj_destroy_stub_op, cobj_mark_op, - cobj_hash_op + cobj_eq_hash_op }; val cptr(mem_t *ptr) @@ -257,7 +257,7 @@ val cobj_equal_handle_op(val left, val right); void cobj_destroy_stub_op(val); void cobj_destroy_free_op(val); void cobj_mark_op(val); -cnum cobj_hash_op(val, int *); +cnum cobj_eq_hash_op(val, int *); struct env { obj_common; @@ -100,7 +100,7 @@ static struct cobj_ops parser_ops = { cobj_print_op, parser_destroy, parser_mark, - cobj_hash_op, + cobj_eq_hash_op, }; void parser_common_init(parser_t *p) @@ -65,7 +65,7 @@ static struct cobj_ops random_state_ops = cobj_ops_init(eq, cobj_print_op, cobj_destroy_free_op, cobj_mark_op, - cobj_hash_op); + cobj_eq_hash_op); /* Source: bits from /dev/random on a Linux server */ static rand32_t rand_tab[16] = { @@ -804,7 +804,7 @@ static struct cobj_ops char_set_obj_ops = cobj_ops_init(eq, cobj_print_op, char_set_cobj_destroy, cobj_mark_op, - cobj_hash_op); + cobj_eq_hash_op); static nfa_state_t *nfa_state_accept(void) { @@ -1379,7 +1379,7 @@ static struct cobj_ops regex_obj_ops = cobj_ops_init(eq, regex_print, regex_destroy, regex_mark, - cobj_hash_op); + cobj_eq_hash_op); static val reg_nullable(val); @@ -648,7 +648,7 @@ static_def(struct strm_ops dgram_strm_ops = dgram_print, dgram_destroy, dgram_mark, - cobj_hash_op), + cobj_eq_hash_op), wli("dgram-sock"), dgram_put_string, dgram_put_char, @@ -340,7 +340,7 @@ static struct strm_ops null_ops = stream_print_op, stream_destroy_op, stream_mark_op, - cobj_hash_op), + cobj_eq_hash_op), wli("null-stream"), null_put_string, null_put_char, null_put_byte, null_get_line, null_get_char, null_get_byte, @@ -910,7 +910,7 @@ static struct strm_ops stdio_ops = stdio_stream_print, stdio_stream_destroy, stdio_stream_mark, - cobj_hash_op), + cobj_eq_hash_op), wli("file-stream"), stdio_put_string, stdio_put_char, @@ -1099,7 +1099,7 @@ static struct strm_ops tail_ops = stdio_stream_print, stdio_stream_destroy, stdio_stream_mark, - cobj_hash_op), + cobj_eq_hash_op), wli("tail-stream"), stdio_put_string, stdio_put_char, @@ -1194,7 +1194,7 @@ static struct strm_ops pipe_ops = stdio_stream_print, stdio_stream_destroy, stdio_stream_mark, - cobj_hash_op), + cobj_eq_hash_op), wli("pipe-stream"), stdio_put_string, stdio_put_char, @@ -1550,7 +1550,7 @@ static struct strm_ops dir_ops = stream_print_op, dir_destroy, dir_mark, - cobj_hash_op), + cobj_eq_hash_op), wli("dir-stream"), 0, 0, 0, dir_get_line, @@ -1669,7 +1669,7 @@ static struct strm_ops string_in_ops = stream_print_op, stream_destroy_op, string_in_stream_mark, - cobj_hash_op), + cobj_eq_hash_op), wli("string-input-stream"), 0, 0, 0, string_in_get_line, @@ -1748,7 +1748,7 @@ static struct strm_ops byte_in_ops = stream_print_op, byte_in_stream_destroy, stream_mark_op, - cobj_hash_op), + cobj_eq_hash_op), wli("byte-input-stream"), 0, 0, 0, 0, 0, byte_in_get_byte, @@ -1882,7 +1882,7 @@ static struct strm_ops strlist_in_ops = stream_print_op, stream_destroy_op, strlist_in_stream_mark, - cobj_hash_op), + cobj_eq_hash_op), wli("strlist-input-stream"), 0, 0, 0, strlist_in_get_line, @@ -2023,7 +2023,7 @@ static struct strm_ops string_out_ops = stream_print_op, string_out_stream_destroy, stream_mark_op, - cobj_hash_op), + cobj_eq_hash_op), wli("string-output-stream"), string_out_put_string, string_out_put_char, @@ -2144,7 +2144,7 @@ static struct strm_ops strlist_out_ops = stream_print_op, stream_destroy_op, strlist_out_mark, - cobj_hash_op), + cobj_eq_hash_op), wli("strlist-output-stream"), strlist_out_put_string, strlist_out_put_char, @@ -2324,7 +2324,7 @@ static struct strm_ops cat_stream_ops = cat_stream_print, stream_destroy_op, cat_mark, - cobj_hash_op), + cobj_eq_hash_op), wli("catenated-stream"), 0, 0, 0, cat_get_line, @@ -2568,7 +2568,7 @@ static struct strm_ops record_adapter_ops = stream_print_op, stream_destroy_op, record_adapter_mark_op, - cobj_hash_op), + cobj_eq_hash_op), wli("record-adapter"), delegate_put_string, delegate_put_char, delegate_put_byte, record_adapter_get_line, delegate_get_char, delegate_get_byte, @@ -1596,7 +1596,7 @@ val static_slot_type_reg(val slot, val strct) static_def(struct cobj_ops struct_type_ops = cobj_ops_init(eq, struct_type_print, struct_type_destroy, - struct_type_mark, cobj_hash_op)) + struct_type_mark, cobj_eq_hash_op)) static_def(struct cobj_ops struct_inst_ops = cobj_ops_init_ex(struct_inst_equal, struct_inst_print, @@ -1470,7 +1470,7 @@ static struct cobj_ops cptr_dl_ops = { cobj_print_op, cptr_dl_destroy_op, cobj_mark_op, - cobj_hash_op + cobj_eq_hash_op }; static val dlopen_wrap(val name, val flags) @@ -223,7 +223,7 @@ static_def(struct strm_ops syslog_strm_ops = stream_print_op, cobj_destroy_free_op, syslog_mark, - cobj_hash_op), + cobj_eq_hash_op), wli("syslog-stream"), syslog_put_string, syslog_put_char, @@ -848,7 +848,7 @@ static struct cobj_ops cont_ops = cobj_ops_init(eq, cobj_print_op, cont_destroy, cont_mark, - cobj_hash_op); + cobj_eq_hash_op); static void call_copy_handlers(uw_frame_t *upto, int parent) { |