summaryrefslogtreecommitdiffhomepage
path: root/ir/libcore
diff options
context:
space:
mode:
authorChristoph Mallon <mallon@cs.uni-saarland.de>2015-07-13 19:48:55 +0200
committerChristoph Mallon <mallon@cs.uni-saarland.de>2015-07-13 20:31:41 +0200
commit84118698c44e7de66f1f8f17ef5e9fb0398be558 (patch)
tree56698e3efde1e186f0b282c85907d6049eac88a2 /ir/libcore
parent1d47cb16a60eba4c5e2338bf32b64ebe13eb1c90 (diff)
Remove the unused function lc_opt_print_help().
Diffstat (limited to 'ir/libcore')
-rw-r--r--ir/libcore/lc_opts.c6
-rw-r--r--ir/libcore/lc_opts.h5
2 files changed, 0 insertions, 11 deletions
diff --git a/ir/libcore/lc_opts.c b/ir/libcore/lc_opts.c
index b907ad6..6705a33 100644
--- a/ir/libcore/lc_opts.c
+++ b/ir/libcore/lc_opts.c
@@ -509,12 +509,6 @@ static void lc_opt_print_help_rec(lc_opt_entry_t *ent, char separator, lc_opt_en
}
-void lc_opt_print_help(lc_opt_entry_t *ent, FILE *f)
-{
- fprintf(f, HELP_TEMPL_VALS "\n", "option", "type", "description", "default", "possible options");
- lc_opt_print_help_rec(ent, '.', NULL, f);
-}
-
void lc_opt_print_help_for_entry(lc_opt_entry_t *ent, char separator, FILE *f)
{
fprintf(f, HELP_TEMPL_VALS "\n", "option", "type", "description", "default", "possible options");
diff --git a/ir/libcore/lc_opts.h b/ir/libcore/lc_opts.h
index abd5ee6..97d8a67 100644
--- a/ir/libcore/lc_opts.h
+++ b/ir/libcore/lc_opts.h
@@ -191,11 +191,6 @@ const char *lc_opt_get_type_name(const lc_opt_entry_t *ent);
/**
* Print the help screen for the given entity to the given file.
- */
-void lc_opt_print_help(lc_opt_entry_t *ent, FILE *f);
-
-/**
- * Print the help screen for the given entity to the given file.
* Use separator instead of '.' and ignore entities above ent,
* i.e. if ent is root.be and has option isa.mach, prints
* isa<separator>mach instead of root.be.isa.mach