mirror of
https://gitea.osmocom.org/cellular-infrastructure/osmo-ggsn.git
synced 2025-10-23 16:23:47 +00:00
sgsnemu: cmdline: Drop unused function cmdline_parser_params_create()
Change-Id: I7d5d69f104d24aafd4aa0b7289bb8b3fa1d77ed4
This commit is contained in:
@@ -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)
|
||||
{
|
||||
if (*s) {
|
||||
|
@@ -479,13 +479,6 @@ extern "C" {
|
||||
*/
|
||||
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
|
||||
* (also set default values for options that have a default)
|
||||
|
Reference in New Issue
Block a user