cleanup, use C99
remove get_first_block_succ() function