diff options
Diffstat (limited to 'tests/gtdump.c')
-rw-r--r-- | tests/gtdump.c | 17 |
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 | |||
@@ -20,19 +20,5 @@ | |||
20 | #include <string.h> | 20 | #include <string.h> |
21 | #include "gdbm.h" | 21 | #include "gdbm.h" |
22 | 22 | #include "progname.h" | |
23 | const char * | ||
24 | canonical_progname (const char *str) | ||
25 | { | ||
26 | const char *p; | ||
27 | |||
28 | p = strrchr (str, '/'); | ||
29 | if (p) | ||
30 | p++; | ||
31 | else | ||
32 | p = str; | ||
33 | if (strncmp (p, "lt-", 3) == 0) | ||
34 | p += 3; | ||
35 | return p; | ||
36 | } | ||
37 | 23 | ||
38 | int | 24 | int |
@@ -46,5 +32,4 @@ main (int argc, char **argv) | |||
46 | GDBM_FILE dbf; | 32 | GDBM_FILE dbf; |
47 | int delim = '\t'; | 33 | int delim = '\t'; |
48 | int data_z = 0; | ||
49 | 34 | ||
50 | while (--argc) | 35 | while (--argc) |