aboutsummaryrefslogtreecommitdiff
path: root/tests/gtver.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/gtver.c')
-rw-r--r--tests/gtver.c16
1 files changed, 1 insertions, 15 deletions
diff --git a/tests/gtver.c b/tests/gtver.c
index 0865666..27fc0b9 100644
--- a/tests/gtver.c
+++ b/tests/gtver.c
@@ -20,19 +20,5 @@
#include <string.h>
#include "gdbm.h"
-
-const char *
-canonical_progname (const char *str)
-{
- const char *p;
-
- p = strrchr (str, '/');
- if (p)
- p++;
- else
- p = str;
- if (strncmp (p, "lt-", 3) == 0)
- p += 3;
- return p;
-}
+#include "progname.h"
#define major_number(lib) ((lib) ? gdbm_version_number[0] : GDBM_VERSION_MAJOR)

Return to:

Send suggestions and report system problems to the System administrator.