vma-iter: Let callers know about error.
commit3e18c0086696f7f3c7fb55b6d5f7e357e918a25c
authorBruno Haible <bruno@clisp.org>
Fri, 10 Mar 2017 17:08:18 +0000 (10 18:08 +0100)
committerBruno Haible <bruno@clisp.org>
Fri, 10 Mar 2017 17:48:31 +0000 (10 18:48 +0100)
tree35b407d1d3bf462cf3bb262716e2ffc1bcc83c40
parent405cd675384221b541b460c43de26d159914fe0a
vma-iter: Let callers know about error.

* lib/vma-iter.h (vma_iterate): Return 'int', not 'void'.
* lib/vma-iter.c (vma_iterate): Return -1 in case of error.
ChangeLog
lib/vma-iter.c
lib/vma-iter.h