From f633cd623541a43804a9701a1a436cc1d710a809 Mon Sep 17 00:00:00 2001 From: Harald Welte Date: Tue, 6 Apr 2010 10:58:24 +0800 Subject: osmocon: use git-version-gen and PACKAGE_VERSION for 'osmocon -v' --- src/host/osmocon/osmocon.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'src/host/osmocon/osmocon.c') diff --git a/src/host/osmocon/osmocon.c b/src/host/osmocon/osmocon.c index 985b02fc..557181f7 100644 --- a/src/host/osmocon/osmocon.c +++ b/src/host/osmocon/osmocon.c @@ -46,8 +46,6 @@ #include -//#include "version.h" - #define MODEM_BAUDRATE B115200 #define MAX_DNLOAD_SIZE 0xFFFF #define MAX_HDR_SIZE 128 @@ -979,7 +977,7 @@ static int usage(const char *name) static int version(const char *name) { - //printf("%s version %s\n", name, VERSION); + printf("%s version %s\n", name, PACKAGE_VERSION); exit(2); } -- cgit v1.2.3