repo.c (rindex): Add decl unconditionally.