#ifndef INPUT_H #define INPUT_H /* Functions for command-line user interaction. */ /* Prompt the user for yes or no (default is yes). Before calling, a prompt * should be printed to stdout, eventually not with an ending newline. */ int prompt_yes_no(void); void remove_ending_newline(char *str); #endif