Diff between 37da13b34ad0092b1a8155e9f0f310d154c456c9 and e4424b2aed4df92139133850a7edc25d35ce2f8d

Changed Files

File Additions Deletions Status
android/client/haltest.c +5 -4 modified

Full Patch

diff --git a/android/client/haltest.c b/android/client/haltest.c
index d86fe49..6271c08 100644
--- a/android/client/haltest.c
+++ b/android/client/haltest.c
@@ -15,6 +15,10 @@
  *
  */
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 #include <stdlib.h>
 #include <stdbool.h>
 #include <string.h>
@@ -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[] = {