From 77f2c264e77d9aa86f35f722062f2af35609b98c Mon Sep 17 00:00:00 2001 From: Jari Vetoniemi Date: Mon, 14 Apr 2014 20:42:10 +0300 Subject: Make version function exit itself. --- client/client.c | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'client') diff --git a/client/client.c b/client/client.c index f46b223..1857e61 100644 --- a/client/client.c +++ b/client/client.c @@ -25,11 +25,11 @@ static struct { 0 /* monitor */ }; -static void printVersion(const char *name) +static void version(const char *name) { char *base = strrchr(name, '/'); printf("%s v%s\n", (base ? base + 1 : name), bmVersion()); - puts("