From 59e7a47c418c77089afb6dfc28b8a178d8b9f1e3 Mon Sep 17 00:00:00 2001 From: James Zern Date: Sat, 9 May 2015 10:33:26 -0700 Subject: tools_common.h: fix usage_exit() prototype + the definitions in the examples silences a missing-prototype warning Change-Id: I7c064cacd6d2073a6107de6c3e2cc46ef8a68411 --- examples/decode_with_drops.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'examples/decode_with_drops.c') diff --git a/examples/decode_with_drops.c b/examples/decode_with_drops.c index 36f7d80e1..2233e473d 100644 --- a/examples/decode_with_drops.c +++ b/examples/decode_with_drops.c @@ -65,7 +65,7 @@ static const char *exec_name; -void usage_exit() { +void usage_exit(void) { fprintf(stderr, "Usage: %s \n", exec_name); exit(EXIT_FAILURE); } -- cgit v1.2.3