From 8854e46a50a0272578599d2fcd8d1fb363e19c38 Mon Sep 17 00:00:00 2001 From: Ralf Baechle Date: Mon, 23 Jan 2017 11:03:56 +0100 Subject: Add a git suffix to the version number used by all programs. This uses a setlocalversion script derived from the kernel's scripts/setlocalversion. Signed-off-by: Ralf Baechle --- kiss/kissnetd.c | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'kiss/kissnetd.c') diff --git a/kiss/kissnetd.c b/kiss/kissnetd.c index 366bb89..7b64ad9 100644 --- a/kiss/kissnetd.c +++ b/kiss/kissnetd.c @@ -25,6 +25,7 @@ #include #include +#include static int VerboseMode; static int MaxFrameSize = 512; @@ -58,7 +59,7 @@ static void Usage(void) static void Banner(int Small) { if (Small) { - printf("kissnetd V %s by Frederic RIBLE F1OAT - ATEPRA FPAC/Linux Project\n", VERSION); + printf("kissnetd V %s by Frederic RIBLE F1OAT - ATEPRA FPAC/Linux Project\n", FULL_VER); } else { printf("****************************************\n"); @@ -66,9 +67,9 @@ static void Banner(int Small) printf("* ATEPRA FPAC/Linux Project *\n"); printf("****************************************\n"); printf("* %*skissnetd Version %s%*s*\n", - (int) (10 - strlen(VERSION) / 2), "", - VERSION, - (int) (10 - (strlen(VERSION) + 1)) / 2, ""); + (int) (10 - strlen(FULL_VER) / 2), "", + FULL_VER, + (int) (10 - (strlen(FULL_VER) + 1)) / 2, ""); printf("* by Frederic RIBLE F1OAT *\n"); printf("****************************************\n"); } -- cgit v1.2.3