Commit 22d83922 authored by Christophe Blaess's avatar Christophe Blaess

Simplification to avoid a global variable.

parent 27c4fdd2
......@@ -70,7 +70,6 @@
// -------- Private global variables.
static int Must_quit = 0;
static char *Version = PI_LOGGER_VERSION_STR;
// -------- Private methods declarations..
......@@ -217,7 +216,7 @@ static void display_usage_and_options(const char *program)
static void display_version_and_license(const char *program)
{
fprintf(stderr, "%s - Pi Datalogger version %s.\n", program, Version);
fprintf(stderr, "%s - Pi Datalogger version %s.\n", program, PI_LOGGER_VERSION_STR);
fprintf(stderr, "Copyright (c) 2018 Christophe BLAESS.\n");
fprintf(stderr, "License GPLv2: GNU GPL version 2 <http://gnu.org/licenses/gpl.html>.\n");
fprintf(stderr, "This is free software: you are free to change and redistribute it.\n");
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment