instead of using perror() use printf(). Removes ugly and useless error codes. While here move function to *.c

This commit is contained in:
Björn Ketelaars
2015-09-04 17:08:09 +02:00
parent 880e5edf1b
commit 36f8df2011
2 changed files with 7 additions and 1 deletions

View File

@@ -387,6 +387,12 @@ void startup_message()
printf("====================================\n");
}
void error(char *buffer)
{
printf("%s\n", buffer);
exit(1);
}
void parse_parameters(int argc, char **argv)
{
int c;