From: Martin Mares Date: Tue, 14 Jan 2014 11:13:37 +0000 (+0100) Subject: Opt: ABI cleanup X-Git-Tag: v5.99~25^2~31 X-Git-Url: http://mj.ucw.cz/gitweb/?a=commitdiff_plain;h=659199e6b6d47105bdc9fab8aea8cf0ac19e1639;p=libucw.git Opt: ABI cleanup --- diff --git a/tools/libucw.api b/tools/libucw.api index 34fa6016..24c8ecec 100644 --- a/tools/libucw.api +++ b/tools/libucw.api @@ -46,6 +46,7 @@ cf_sections cf_find_subitem cf_commit_all cf_add_dirty +cf_load_default # ucw/conf.h cf_new_context cf_delete_context @@ -380,6 +381,14 @@ mp_printf mp_vprintf mp_printf_append mp_vprintf_append +# ucw/opt.h +opt_conf_internal +opt_conf_hook_internal +opt_parsed_count +opt_conf_parsed_count +opt_section_root +opt_help_internal +opt_parse # ucw/partmap.h partmap_open partmap_close diff --git a/ucw/conf-internal.h b/ucw/conf-internal.h index 7db7de78..b4ff767f 100644 --- a/ucw/conf-internal.h +++ b/ucw/conf-internal.h @@ -22,6 +22,7 @@ #define cf_interpret_line ucw_cf_interpret_line #define cf_journal_delete ucw_cf_journal_delete #define cf_journal_swap ucw_cf_journal_swap +#define cf_load_default ucw_cf_load_default #define cf_obtain_context ucw_cf_obtain_context #define cf_op_names ucw_cf_op_names #define cf_sections ucw_cf_sections diff --git a/ucw/opt.h b/ucw/opt.h index 4fddf730..54bcde42 100644 --- a/ucw/opt.h +++ b/ucw/opt.h @@ -16,6 +16,16 @@ #include #include +#ifdef CONFIG_UCW_CLEAN_ABI +#define opt_conf_hook_internal ucw_opt_conf_hook_internal +#define opt_conf_internal ucw_opt_conf_internal +#define opt_conf_parsed_count ucw_opt_conf_parsed_count +#define opt_help_internal ucw_opt_help_internal +#define opt_parse ucw_opt_parse +#define opt_parsed_count ucw_opt_parsed_count +#define opt_section_root ucw_opt_section_root +#endif + #define OPT_EXIT_BAD_ARGS 2 /***