sgsnemu: cmdline: Drop unused function cmdline_parser_params_create()
Change-Id: I7d5d69f104d24aafd4aa0b7289bb8b3fa1d77ed4
This commit is contained in:
parent
1c3505b885
commit
90d1732be1
|
@ -368,14 +368,6 @@ void cmdline_parser_params_init(struct cmdline_parser_params *params)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
struct cmdline_parser_params *cmdline_parser_params_create(void)
|
|
||||||
{
|
|
||||||
struct cmdline_parser_params *params = (struct cmdline_parser_params *)
|
|
||||||
malloc(sizeof(struct cmdline_parser_params));
|
|
||||||
cmdline_parser_params_init(params);
|
|
||||||
return params;
|
|
||||||
}
|
|
||||||
|
|
||||||
static void free_string_field(char **s)
|
static void free_string_field(char **s)
|
||||||
{
|
{
|
||||||
if (*s) {
|
if (*s) {
|
||||||
|
|
|
@ -479,13 +479,6 @@ extern "C" {
|
||||||
*/
|
*/
|
||||||
void cmdline_parser_params_init(struct cmdline_parser_params *params);
|
void cmdline_parser_params_init(struct cmdline_parser_params *params);
|
||||||
|
|
||||||
/**
|
|
||||||
* Allocates dynamically a cmdline_parser_params structure and initializes
|
|
||||||
* all its fields to their default values
|
|
||||||
* @return the created and initialized cmdline_parser_params structure
|
|
||||||
*/
|
|
||||||
struct cmdline_parser_params *cmdline_parser_params_create(void);
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Initializes the passed gengetopt_args_info structure's fields
|
* Initializes the passed gengetopt_args_info structure's fields
|
||||||
* (also set default values for options that have a default)
|
* (also set default values for options that have a default)
|
||||||
|
|
Loading…
Reference in New Issue