summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoralejandro-colomar <colomar.6.4.3@gmail.com>2019-07-31 20:20:38 +0200
committeralejandro-colomar <colomar.6.4.3@gmail.com>2019-07-31 20:20:38 +0200
commitce757d1db8f6f5c2ab960a583881c8bb0d7ef546 (patch)
treec43d9b058961310238109277fec629d633be0713
parent18b229131822ab5af3a89dd11004f0b6b0e33c11 (diff)
Minor changes; version number 1.0~b1
-rw-r--r--Makefile8
-rw-r--r--src/main.c2
-rw-r--r--src/parse.c4
3 files changed, 6 insertions, 8 deletions
diff --git a/Makefile b/Makefile
index 2be7796..79d7803 100644
--- a/Makefile
+++ b/Makefile
@@ -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
diff --git a/src/main.c b/src/main.c
index 9bacdbd..1d98765 100644
--- a/src/main.c
+++ b/src/main.c
@@ -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);
}