diff options
author | Sergei Golubchik <serg@mariadb.org> | 2019-09-29 16:30:57 +0200 |
---|---|---|
committer | Sergei Golubchik <serg@mariadb.org> | 2019-10-14 10:29:30 +0200 |
commit | f217612fade6684c6003aea9a9bfc7ab41685ace (patch) | |
tree | 65ebc4daa0720dd13034840f716437671160f54d /include/my_getopt.h | |
parent | 927521a2c18954f03869e91281b90af79b719166 (diff) | |
download | mariadb-git-f217612fade6684c6003aea9a9bfc7ab41685ace.tar.gz |
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.
Diffstat (limited to 'include/my_getopt.h')
-rw-r--r-- | include/my_getopt.h | 2 |
1 files changed, 1 insertions, 1 deletions
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 |