summaryrefslogtreecommitdiff
path: root/mysys/my_getopt.c
diff options
context:
space:
mode:
authorSergei Golubchik <serg@mariadb.org>2019-10-13 00:19:54 +0200
committerSergei Golubchik <serg@mariadb.org>2019-10-14 10:29:30 +0200
commitf7b8d1449046a9f36618435c972d7ca8b961b540 (patch)
tree44c9a44de1fd031e039f7a80783eb262198812d8 /mysys/my_getopt.c
parent3e56972712395d371f82cda564b039dcbda3100a (diff)
downloadmariadb-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.c1
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);