reformat pfrng-img.c