[util] Rename add_main_options

This commit is contained in:
Behdad Esfahbod 2021-08-11 12:12:49 -06:00
parent 62fb102184
commit 7e4fcf1be8
1 changed files with 3 additions and 3 deletions

View File

@ -103,7 +103,7 @@ struct option_parser_t
g_ptr_array_free (to_free, TRUE); g_ptr_array_free (to_free, TRUE);
} }
void add_main_options (); void add_options ();
static void static void
post_parse_ (void *thiz, GError **error) {} post_parse_ (void *thiz, GError **error) {}
@ -187,7 +187,7 @@ show_version (const char *name G_GNUC_UNUSED,
} }
inline void inline void
option_parser_t::add_main_options () option_parser_t::add_options ()
{ {
GOptionEntry entries[] = GOptionEntry entries[] =
{ {
@ -201,7 +201,7 @@ option_parser_t::add_main_options ()
inline void inline void
option_parser_t::parse (int *argc, char ***argv) option_parser_t::parse (int *argc, char ***argv)
{ {
add_main_options (); add_options ();
setlocale (LC_ALL, ""); setlocale (LC_ALL, "");