summaryrefslogtreecommitdiffabout
path: root/tests/gtfetch.c
Unidiff
Diffstat (limited to 'tests/gtfetch.c') (more/less context) (ignore whitespace changes)
-rw-r--r--tests/gtfetch.c16
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
36const char *
37canonical_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
51int 37int

Return to:

Send suggestions and report system problems to the System administrator.