tools_common.h: fix usage_exit() prototype

+ the definitions in the examples

silences a missing-prototype warning

Change-Id: I7c064cacd6d2073a6107de6c3e2cc46ef8a68411
This commit is contained in:
James Zern
2015-05-09 10:33:26 -07:00
parent 5f0dc57653
commit 59e7a47c41
16 changed files with 18 additions and 17 deletions

View File

@@ -65,7 +65,7 @@
static const char *exec_name;
void usage_exit() {
void usage_exit(void) {
fprintf(stderr, "Usage: %s <infile> <outfile> <N-M|N/M>\n", exec_name);
exit(EXIT_FAILURE);
}