[S] Change in osmo-dev[master]: src/_update_src_copy: move functions to top