Ticket #1919 (closed deprecation: fixed)
Removal of dead functions in src/packfile/api.c
|Reported by:||rfw||Owned by:|
whiteknight proposes that the following functions are dead:
Parrot_switch_to_cs_by_nr PackFile_Segment_new PackFile_remove_segment_by_name PackFile_Annotations_dump
From my testing, it would seem that Parrot_switch_to_cs_by_nr and PackFile_remove_segment_by_name are okay to be nuked simply by removing the entire function.
For PackFile_Segment_new, the declaration should be replaced with (PackFile_Segment_new_func_t) NULLfunc in pf_register_standard_funcs, and PackFile_Annotations_dump with default_dump.