command.c: make two functions static