added prototypes from irgwalk_blk.c