summaryrefslogtreecommitdiffstats
path: root/gnu/lib/libodialog/TESTS/ftree1.c
diff options
context:
space:
mode:
Diffstat (limited to 'gnu/lib/libodialog/TESTS/ftree1.c')
-rw-r--r--gnu/lib/libodialog/TESTS/ftree1.c45
1 files changed, 0 insertions, 45 deletions
diff --git a/gnu/lib/libodialog/TESTS/ftree1.c b/gnu/lib/libodialog/TESTS/ftree1.c
deleted file mode 100644
index f21e0e5..0000000
--- a/gnu/lib/libodialog/TESTS/ftree1.c
+++ /dev/null
@@ -1,45 +0,0 @@
-/*
- * ftree1.c
- *
- * small test-driver for new dialog functionality
- *
- * Copyright (c) 1998, Anatoly A. Orehovsky
- *
- * file ./ftree1.test with xterm widget tree from
- * direct editres(1) dump needed !!!
- */
-
-#include <sys/cdefs.h>
-__FBSDID("$FreeBSD$");
-
-#include <stdio.h>
-#include <stdlib.h>
-#include <dialog.h>
-
-int
-main(int argc, char **argv)
-{
- int retval;
- unsigned char *tresult;
-
- init_dialog();
- retval = dialog_ftree("ftree1.test", '\t',
- "ftree dialog box example",
- "xterm widget tree from direct editres(1) dump",
- -1, -1, 15,
- &tresult);
-
- dialog_update();
-
- dialog_clear();
-
- end_dialog();
-
- if (!retval)
- {
- puts(tresult);
- free(tresult);
- }
-
- exit(retval);
-}
OpenPOWER on IntegriCloud