diff options
author | alejandro-colomar <colomar.6.4.3@gmail.com> | 2019-07-31 20:20:38 +0200 |
---|---|---|
committer | alejandro-colomar <colomar.6.4.3@gmail.com> | 2019-07-31 20:20:38 +0200 |
commit | ce757d1db8f6f5c2ab960a583881c8bb0d7ef546 (patch) | |
tree | c43d9b058961310238109277fec629d633be0713 | |
parent | 18b229131822ab5af3a89dd11004f0b6b0e33c11 (diff) |
Minor changes; version number 1.0~b1
-rw-r--r-- | Makefile | 8 | ||||
-rw-r--r-- | src/main.c | 2 | ||||
-rw-r--r-- | src/parse.c | 4 |
3 files changed, 6 insertions, 8 deletions
@@ -1,8 +1,8 @@ #! /usr/bin/make -f -VERSION = 0 -PATCHLEVEL = 1 -SUBLEVEL = 0 -EXTRAVERSION = +VERSION = 1 +PATCHLEVEL = 0 +SUBLEVEL = +EXTRAVERSION = ~b1 NAME = export VERSION @@ -9,8 +9,6 @@ ******************************************************************************/ #include <stdio.h> -#include "libalx/base/errno/error.h" - #include "coins/coins.h" #include "coins/parse.h" diff --git a/src/parse.c b/src/parse.c index e80bc94..09a21b9 100644 --- a/src/parse.c +++ b/src/parse.c @@ -9,6 +9,7 @@ ******************************************************************************/ #include "coins/parse.h" +#include <errno.h> #include <stdbool.h> #include <stdio.h> #include <stdlib.h> @@ -23,7 +24,6 @@ /****************************************************************************** ******* macros *************************************************************** ******************************************************************************/ -#define PROG_NAME "coins" #define PROG_YEAR "2018" #define OPT_LIST "hLuv""f:" @@ -132,7 +132,7 @@ void parse_file (char fname[static restrict FILENAME_MAX], char *arg) static void print_version (void) { - printf("%s %s\n\n", PROG_NAME, PROG_VERSION); + printf("%s %s\n\n", program_invocation_short_name, PROG_VERSION); } |