submodule.c: use the ARRAY_SIZE macro