From e4424b2aed4df92139133850a7edc25d35ce2f8d Mon Sep 17 00:00:00 2001 From: Szymon Janc Date: Wed, 24 Sep 2014 10:52:49 +0200 Subject: [PATCH] android/client: Use release version for tool version --- android/client/haltest.c | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/android/client/haltest.c b/android/client/haltest.c index d86fe4977..6271c0800 100644 --- a/android/client/haltest.c +++ b/android/client/haltest.c @@ -15,6 +15,10 @@ * */ +#ifdef HAVE_CONFIG_H +#include +#endif + #include #include #include @@ -336,12 +340,9 @@ enum { PRINT_VERSION = 1000 }; -int version = 1; -int revision = 0; - static void print_version(void) { - printf("haltest version %d.%d\n", version, revision); + printf("haltest version %s\n", VERSION); } static const struct option main_options[] = { -- 2.47.3