summaryrefslogtreecommitdiff
path: root/lib/util/print_version.c
diff options
context:
space:
mode:
authorDavid Oberhollenzer <david.oberhollenzer@tele2.at>2018-11-23 14:13:52 +0100
committerDavid Oberhollenzer <david.oberhollenzer@tele2.at>2018-11-23 23:00:58 +0100
commitd9a5736bdfa9db29e94c5431bb8a9bc92a24585c (patch)
tree59095ed17fac70631b1135101f3e98c583363b2d /lib/util/print_version.c
parentc14c3c0173d7bebeb3ccac687e49909164845d57 (diff)
Remove some no longer needed cruft
Signed-off-by: David Oberhollenzer <david.oberhollenzer@tele2.at>
Diffstat (limited to 'lib/util/print_version.c')
-rw-r--r--lib/util/print_version.c18
1 files changed, 0 insertions, 18 deletions
diff --git a/lib/util/print_version.c b/lib/util/print_version.c
deleted file mode 100644
index 47508b5..0000000
--- a/lib/util/print_version.c
+++ /dev/null
@@ -1,18 +0,0 @@
-/* SPDX-License-Identifier: ISC */
-#include <stdlib.h>
-#include <stdio.h>
-
-#include "config.h"
-#include "util.h"
-
-static const char *version_string =
-"%s (pygos init) " PACKAGE_VERSION "\n"
-"Copyright (C) 2018 David Oberhollenzer\n\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(const char *program)
-{
- fprintf(stdout, version_string, program);
- exit(EXIT_SUCCESS);
-}