]> git.draconx.ca Git - cdecl99.git/blobdiff - t/testlib.c
cdecl99: Optimize print_version a bit.
[cdecl99.git] / t / testlib.c
index 8edb423bb5004c776140ce096d5c08b5a475a7b4..c6b1975b1f3e8fdde8eeec655c3b0c2dae9046c1 100644 (file)
@@ -89,15 +89,6 @@ bool strict_strtoul(unsigned long *val, const char *str, int base)
        return true;
 }
 
-void test_print_version(const char *program)
-{
-       printf("%s (%s) %s\n", program, PACKAGE_NAME, PACKAGE_VERSION);
-       puts("Copyright (C) 2023 Nick Bowler.");
-       puts("License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>.");
-       puts("This is free software: you are free to change and redistribute it.");
-       puts("There is NO WARRANTY, to the extent permitted by law.");
-}
-
 void test_print_options(const struct option *lopts)
 {
        const struct option *opt;