diff options
Diffstat (limited to 'tests/gtfetch.c')
-rw-r--r-- | tests/gtfetch.c | 16 |
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 @@ | |||
21 | #include "gdbm.h" | 21 | #include "gdbm.h" |
22 | #include "progname.h" | ||
22 | 23 | ||
@@ -35,17 +36,2 @@ print_key (FILE *fp, datum key, int delim) | |||
35 | 36 | ||
36 | const char * | ||
37 | canonical_progname (const char *str) | ||
38 | { | ||
39 | const char *p; | ||
40 | |||
41 | p = strrchr (str, '/'); | ||
42 | if (p) | ||
43 | p++; | ||
44 | else | ||
45 | p = str; | ||
46 | if (strncmp (p, "lt-", 3) == 0) | ||
47 | p += 3; | ||
48 | return p; | ||
49 | } | ||
50 | |||
51 | int | 37 | int |