summaryrefslogtreecommitdiffabout
path: root/tests/gtfetch.c
Side-by-side diff
Diffstat (limited to 'tests/gtfetch.c') (more/less context) (ignore whitespace changes)
-rw-r--r--tests/gtfetch.c16
1 files changed, 1 insertions, 15 deletions
diff --git a/tests/gtfetch.c b/tests/gtfetch.c
index e7ff542..0c254b7 100644
--- a/tests/gtfetch.c
+++ b/tests/gtfetch.c
@@ -21,2 +21,3 @@
#include "gdbm.h"
+#include "progname.h"
@@ -35,17 +36,2 @@ print_key (FILE *fp, datum key, int delim)
-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;
-}
-
int

Return to:

Send suggestions and report system problems to the System administrator.