config.h: remove unused git_configset_add_parameters()
This function was removed in ecec57b3c97 (config: respect includes in protected config, 2022-10-13), but its prototype was left here. Signed-off-by: Ævar Arnfjörð Bjarmason <avarab@gmail.com> Reviewed-by: Glen Choo <chooglen@google.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Ævar Arnfjörð Bjarmason committed
Feb 7, 2023 at 17:15 UTC
3eb1e1ca9a3cdb68d6b67b0ff0a40f647b2aedaf
1 file changed
-9
config.h
-9
@@ -447,15 +447,6 @@ void git_configset_init(struct config_set *cs);
447
*/
448
int git_configset_add_file(struct config_set *cs, const char *filename);
449
450
-/**
451
- * Parses command line options and environment variables, and adds the
452
- * variable-value pairs to the `config_set`. Returns 0 on success, or -1
453
- * if there is an error in parsing. The caller decides whether to free
454
- * the incomplete configset or continue using it when the function
455
- * returns -1.
456
- */
457
-int git_configset_add_parameters(struct config_set *cs);
458
-
450
/**
451
* Finds and returns the value list, sorted in order of increasing priority
452
* for the configuration variable `key` and config set `cs`. When the