Kind-nonspecific query/set functions should be named ctf_type_*.
given name. The type is hidden from all name lookups, just like
CTF_ADD_NONROOT. */
-extern ctf_ret_t ctf_set_conflicting (ctf_dict_t *, ctf_id_t, const char *);
+extern ctf_ret_t ctf_type_set_conflicting (ctf_dict_t *, ctf_id_t, const char *);
/* Add a function or object symbol type with a particular name, without saying
anything about the actual symbol index. (The linker will then associate them
/* Set this type as conflicting in compilation unit CUNAME. */
ctf_ret_t
-ctf_set_conflicting (ctf_dict_t *fp, ctf_id_t type, const char *cuname)
+ctf_type_set_conflicting (ctf_dict_t *fp, ctf_id_t type, const char *cuname)
{
ctf_dict_t *ofp = fp;
ctf_dtdef_t *dtd;
idx = ctf_type_to_index (fp, type);
dtd = ctf_dtd_lookup (fp, type);
- /* You can only call ctf_set_conflicting on a type you have added, not a type
- that was read in via ctf_open. */
+ /* You can only call ctf_type_set_conflicting on a type you have added, not a
+ type that was read in via ctf_open. */
if (idx < fp->ctf_stypes)
return (ctf_set_errno (ofp, ECTF_RDONLY));
/* If this type is meant to be marked conflicting in this dict rather than
moved into a child, mark it, and note which CU it came from. */
if (new_type != 0 && mark_type_conflicting)
- if (ctf_set_conflicting (target, new_type, ctf_cuname (input)) < 0)
+ if (ctf_type_set_conflicting (target, new_type, ctf_cuname (input)) < 0)
goto err_target;
return 0;
ctf_add_member_bitfield;
ctf_array_set_info;
- ctf_set_conflicting;
+ ctf_type_set_conflicting;
ctf_update;
ctf_discard;