Using enum { buf_len, buf_count } also looks strange, leave it for now.
--
v2: sane.ds: Use sizeof() instead of hard-coded values, avoid zero initializing local variables when not necessary.
sane.ds: Clarify how SANE mode names map to ICAP_PIXELTYPE values.
sane.ds: Change return type of sane_categorize_value() to void.
https://gitlab.winehq.org/wine/wine/-/merge_requests/7793