aboutsummaryrefslogtreecommitdiff
path: root/lib/util/print_version.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/util/print_version.c')
-rw-r--r--lib/util/print_version.c29
1 files changed, 0 insertions, 29 deletions
diff --git a/lib/util/print_version.c b/lib/util/print_version.c
deleted file mode 100644
index b23e2bd..0000000
--- a/lib/util/print_version.c
+++ /dev/null
@@ -1,29 +0,0 @@
-/* SPDX-License-Identifier: GPL-3.0-or-later */
-/*
- * print_version.c
- *
- * Copyright (C) 2019 David Oberhollenzer <goliath@infraroot.at>
- */
-#include "config.h"
-
-#include "util.h"
-
-#include <stdio.h>
-
-#define LICENSE_SHORT "GPLv3+"
-#define LICENSE_LONG "GNU GPL version 3 or later"
-#define LICENSE_URL "https://gnu.org/licenses/gpl.html"
-
-extern char *__progname;
-
-static const char *version_string =
-"%s (%s) %s\n"
-"Copyright (c) 2019 David Oberhollenzer et al\n"
-"License " LICENSE_SHORT ": " LICENSE_LONG " <" LICENSE_URL ">.\n"
-"This is free software: you are free to change and redistribute it.\n"
-"There is NO WARRANTY, to the extent permitted by law.\n";
-
-void print_version(void)
-{
- printf(version_string, __progname, PACKAGE_NAME, PACKAGE_VERSION);
-}