command.c: make private routines static