aboutsummaryrefslogtreecommitdiff
path: root/tests/gtdump.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/gtdump.c')
-rw-r--r--tests/gtdump.c17
1 files changed, 1 insertions, 16 deletions
diff --git a/tests/gtdump.c b/tests/gtdump.c
index 7030cfd..927a47c 100644
--- a/tests/gtdump.c
+++ b/tests/gtdump.c
@@ -19,21 +19,7 @@
19#include <stdlib.h> 19#include <stdlib.h>
20#include <string.h> 20#include <string.h>
21#include "gdbm.h" 21#include "gdbm.h"
22 22#include "progname.h"
23const char *
24canonical_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
38int 24int
39main (int argc, char **argv) 25main (int argc, char **argv)
@@ -45,7 +31,6 @@ main (int argc, char **argv)
45 int flags = 0; 31 int flags = 0;
46 GDBM_FILE dbf; 32 GDBM_FILE dbf;
47 int delim = '\t'; 33 int delim = '\t';
48 int data_z = 0;
49 34
50 while (--argc) 35 while (--argc)
51 { 36 {

Return to:

Send suggestions and report system problems to the System administrator.