summaryrefslogtreecommitdiffstats
path: root/hdlcutil
diff options
context:
space:
mode:
authorRalf Baechle <ralf@linux-mips.org>2017-01-23 00:17:31 +0100
committerRalf Baechle <ralf@linux-mips.org>2017-01-23 00:17:31 +0100
commitdd79732e13819cf3ba546f27f3e0bf171a76b1df (patch)
tree7f9e262b263328ef15643224dad7a5868a743b79 /hdlcutil
parentee6eadf12892fe583dab9b4b06e00e32dae82ada (diff)
hdlcutil: Switch version number printed to ax25-tools version.
The version number has not been changed ever since ax25-tools 0.0.1 making the version useless for bug reporting. Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'hdlcutil')
-rw-r--r--hdlcutil/sethdlc.c4
-rw-r--r--hdlcutil/smdiag.c4
-rw-r--r--hdlcutil/smmixer.c4
3 files changed, 9 insertions, 3 deletions
diff --git a/hdlcutil/sethdlc.c b/hdlcutil/sethdlc.c
index 9675d4e..99e25cd 100644
--- a/hdlcutil/sethdlc.c
+++ b/hdlcutil/sethdlc.c
@@ -45,6 +45,8 @@
#include <net/if.h>
#include "hdrvcomm.h"
+#include <config.h>
+
/* ---------------------------------------------------------------------- */
static unsigned char trace_stat;
@@ -484,7 +486,7 @@ int main(int argc, char *argv[])
char pktbuf[2048];
progname = *argv;
- printf("%s: Version 0.5; (C) 1996-1997 by Thomas Sailer HB9JNX/AE4WA\n", *argv);
+ printf("%s: Version " VERSION "; (C) 1996-1997 by Thomas Sailer HB9JNX/AE4WA\n", *argv);
hdrvc_args(&argc, argv, "bc0");
while ((ret = getopt(argc, argv, "bsdhpc:a")) != -1) {
switch (ret) {
diff --git a/hdlcutil/smdiag.c b/hdlcutil/smdiag.c
index 16d34f0..ad621f8 100644
--- a/hdlcutil/smdiag.c
+++ b/hdlcutil/smdiag.c
@@ -48,6 +48,8 @@
#include <X11/Xutil.h>
#include "hdrvcomm.h"
+#include <config.h>
+
/* ---------------------------------------------------------------------- */
static char *progname;
@@ -331,7 +333,7 @@ int main(int argc, char *argv[])
unsigned int samplesperbit;
progname = *argv;
- printf("%s: Version 0.2; (C) 1996-1997 by Thomas Sailer HB9JNX/AE4WA\n", *argv);
+ printf("%s: Version " VERSION "0.2; (C) 1996-1997 by Thomas Sailer HB9JNX/AE4WA\n", *argv);
hdrvc_args(&argc, argv, "sm0");
while ((ret = getopt(argc, argv, "d:ecp")) != -1) {
switch (ret) {
diff --git a/hdlcutil/smmixer.c b/hdlcutil/smmixer.c
index 8efeac8..fa370f2 100644
--- a/hdlcutil/smmixer.c
+++ b/hdlcutil/smmixer.c
@@ -42,6 +42,8 @@
#include <net/if.h>
#include "hdrvcomm.h"
+#include <config.h>
+
/* ---------------------------------------------------------------------- */
static char *progname;
@@ -724,7 +726,7 @@ int main(int argc, char *argv[])
struct sm_mixer_data mixdat;
progname = *argv;
- printf("%s: Version 0.2; (C) 1996-1997 by Thomas Sailer HB9JNX/AE4WA\n", *argv);
+ printf("%s: Version " VERSION "; (C) 1996-1997 by Thomas Sailer HB9JNX/AE4WA\n", *argv);
hdrvc_args(&argc, argv, "sm0");
while ((c = getopt(argc, argv, "")) != -1) {
switch (c) {