Add next_nonzero_block() and rewrite blockoff_next_block()
commit69b22893573bdbf400a55fd096abadc65fc7e08e
authorPetr Tesarik <petr@tesarici.cz>
Tue, 2 Oct 2012 21:09:16 +0000 (2 23:09 +0200)
committerPetr Tesarik <petr@tesarici.cz>
Tue, 2 Oct 2012 21:09:16 +0000 (2 23:09 +0200)
treeb39965f567094bb4fb00d54eddd5339f65b41fd7
parent44ad1981e5e7129dbc645fba80b8d159c3d5eab3
Add next_nonzero_block() and rewrite blockoff_next_block()

This is a companion to prev_nonzero_block() for finding the next
non-zero block in the chain.

It can be used by blockoff_next_block() to make it more readable.
libhed/file.c