aboutsummaryrefslogtreecommitdiff
path: root/tests/gtdel.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/gtdel.c')
-rw-r--r--tests/gtdel.c16
1 files changed, 1 insertions, 15 deletions
diff --git a/tests/gtdel.c b/tests/gtdel.c
index 6826532..ff9cdb9 100644
--- a/tests/gtdel.c
+++ b/tests/gtdel.c
@@ -19,21 +19,7 @@
#include <stdlib.h>
#include <string.h>
#include "gdbm.h"
-
-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;
-}
+#include "progname.h"
int
main (int argc, char **argv)

Return to:

Send suggestions and report system problems to the System administrator.