Deleted some unnecessary code in command_prompt.c and .h