From f217612fade6684c6003aea9a9bfc7ab41685ace Mon Sep 17 00:00:00 2001 From: Sergei Golubchik Date: Sun, 29 Sep 2019 16:30:57 +0200 Subject: MDEV-12684 Show what config file a sysvar got a value from change get_one_option() prototype to pass the filename and not to pass the redundant optid. --- include/my_getopt.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include/my_getopt.h') diff --git a/include/my_getopt.h b/include/my_getopt.h index 1868c44b60e..a299c315785 100644 --- a/include/my_getopt.h +++ b/include/my_getopt.h @@ -89,7 +89,7 @@ struct my_option void *app_type; /**< To be used by an application */ }; -typedef my_bool (*my_get_one_option)(int, const struct my_option *, char *); +typedef my_bool (*my_get_one_option)(const struct my_option *, char *, const char *); /** Used to retrieve a reference to the object (variable) that holds the value -- cgit v1.2.1