aboutsummaryrefslogtreecommitdiffstats
path: root/src/ck.c
diff options
context:
space:
mode:
authorgramanas <anastasis.gramm2@gmail.com>2018-05-08 16:44:05 +0300
committergramanas <anastasis.gramm2@gmail.com>2018-05-08 16:44:05 +0300
commitfb7e3e1352aeca03909ae3720c8cae90fcd57186 (patch)
tree73ec2c99e3a8c578c1791e83a5ec74749a8316af /src/ck.c
parent00faacfa1ba2af7dd6dbd441e0ede57029d92686 (diff)
downloadck-fb7e3e1352aeca03909ae3720c8cae90fcd57186.tar.gz
ck-fb7e3e1352aeca03909ae3720c8cae90fcd57186.tar.bz2
ck-fb7e3e1352aeca03909ae3720c8cae90fcd57186.zip
user args an now cklist type
Diffstat (limited to 'src/ck.c')
-rw-r--r--src/ck.c25
1 files changed, 0 insertions, 25 deletions
diff --git a/src/ck.c b/src/ck.c
index 972dc7e..96bc50a 100644
--- a/src/ck.c
+++ b/src/ck.c
@@ -43,31 +43,6 @@ void free_res(UserOpt *opt, Conf *conf) {
}
int main(int argc, char *argv[]) {
-
- cklist *p;
- p = list_make_and_add("0");
- list_add(p, "1");
- list_add(p, "2");
- list_add(p, "3");
- list_add(p, "4");
- list_add(p, "5");
- list_add(p, "6");
- list_add(p, "7");
- list_add(p, "8");
- list_print_lisp(p);
- cklist *po = list_move(p);
- cklist *po_l = list_copy_until(po, 4);
- list_print_lisp(po_l);
- cklist *po_r = list_copy_from(po, 5);
- list_print_lisp(po_r);
- cklist *po_part = list_copy_part(po, 2, 4);
- list_print_lisp(po_part);
- list_print(po);
- list_free(po_part);
- list_free(po);
- list_free(po_l);
- list_free(po_r);
-
UserOpt opt;
/* get user opt */
switch(parse_action(argc, argv, &opt)) {