summaryrefslogtreecommitdiffhomepage
path: root/ir/libcore
diff options
context:
space:
mode:
authorChristoph Mallon <mallon@cs.uni-saarland.de>2015-07-13 19:39:07 +0200
committerChristoph Mallon <mallon@cs.uni-saarland.de>2015-07-13 20:31:41 +0200
commit0572654541159d8e65bb43d672b4b93b1b5dc041 (patch)
tree0b77778359e3130a1d7b12bae83cf71a00fafc4b /ir/libcore
parentd44c59762fc9a37f2ac9cad76a78d972d780d36d (diff)
Remove the unused macros lc_opt_add_opt_{bit,double,int,string}().
Diffstat (limited to 'ir/libcore')
-rw-r--r--ir/libcore/lc_opts.h12
1 files changed, 0 insertions, 12 deletions
diff --git a/ir/libcore/lc_opts.h b/ir/libcore/lc_opts.h
index 0085316..d5545bf 100644
--- a/ir/libcore/lc_opts.h
+++ b/ir/libcore/lc_opts.h
@@ -128,18 +128,6 @@ int lc_opt_std_dump(char *buf, size_t n, const char *name, lc_opt_type_t type, v
int lc_opt_bool_dump_vals(char *buf, size_t n, const char *name, lc_opt_type_t type, void *data, size_t length);
-#define lc_opt_add_opt_int(grp, name, desc, value, err) \
- lc_opt_add_opt(grp, name, desc, lc_opt_type_int, value, 0, lc_opt_std_cb, lc_opt_std_dump, NULL, err)
-
-#define lc_opt_add_opt_double(grp, name, desc, value, err) \
- lc_opt_add_opt(grp, name, desc, lc_opt_type_double, value, 0, lc_opt_std_cb, lc_opt_std_dump, NULL, err)
-
-#define lc_opt_add_opt_string(grp, name, desc, buf, len, err) \
- lc_opt_add_opt(grp, name, desc, lc_opt_type_string, buf, len, lc_opt_std_cb, lc_opt_std_dump, NULL, err)
-
-#define lc_opt_add_opt_bit(grp, name, desc, value, mask, err) \
- lc_opt_add_opt(grp, name, desc, lc_opt_type_bit, value, mask, lc_opt_std_cb, lc_opt_std_dump, NULL, err)
-
/**
* Find a group inside another group.