aboutsummaryrefslogtreecommitdiff
path: root/tests/gtdump.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/gtdump.c')
-rw-r--r--tests/gtdump.c17
1 files changed, 1 insertions, 16 deletions
diff --git a/tests/gtdump.c b/tests/gtdump.c
index 7030cfd..927a47c 100644
--- a/tests/gtdump.c
+++ b/tests/gtdump.c
@@ -19,21 +19,7 @@
#include <stdlib.h>
#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"
int
main (int argc, char **argv)
@@ -45,7 +31,6 @@ main (int argc, char **argv)
int flags = 0;
GDBM_FILE dbf;
int delim = '\t';
- int data_z = 0;
while (--argc)
{

Return to:

Send suggestions and report system problems to the System administrator.