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 @@ -20,4 +20,5 @@ #include <string.h> #include "gdbm.h" +#include "progname.h" void @@ -34,19 +35,4 @@ 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 main (int argc, char **argv) |