diff options
Diffstat (limited to 'tests/gtver.c')
-rw-r--r-- | tests/gtver.c | 16 |
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 | |||
@@ -21,17 +21,3 @@ | |||
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 | ||