commit.c: mark a file-scope private symbol as static