diff options
author | Sergei Golubchik <serg@mariadb.org> | 2019-10-13 00:19:54 +0200 |
---|---|---|
committer | Sergei Golubchik <serg@mariadb.org> | 2019-10-14 10:29:30 +0200 |
commit | f7b8d1449046a9f36618435c972d7ca8b961b540 (patch) | |
tree | 44c9a44de1fd031e039f7a80783eb262198812d8 /mysys/my_getopt.c | |
parent | 3e56972712395d371f82cda564b039dcbda3100a (diff) | |
download | mariadb-git-f7b8d1449046a9f36618435c972d7ca8b961b540.tar.gz |
cleanup: don't use my_getopt_is_args_separator()
only my_getopt should use it, because it changes my_getopt's behavior.
If one simply wants to skip the separator - don't ask it to be added
in the first place
Diffstat (limited to 'mysys/my_getopt.c')
-rw-r--r-- | mysys/my_getopt.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/mysys/my_getopt.c b/mysys/my_getopt.c index 1db87b2c6bc..fa870405f70 100644 --- a/mysys/my_getopt.c +++ b/mysys/my_getopt.c @@ -24,6 +24,7 @@ #include <my_getopt.h> #include <errno.h> +my_bool my_getopt_is_args_separator(const char* arg); typedef void (*init_func_p)(const struct my_option *option, void *variable, longlong value); |