[PATCH v4 2/3] command.h: Clean-up patch, remove extern from the header