summaryrefslogtreecommitdiff
path: root/client/mysqladmin.c
diff options
context:
space:
mode:
Diffstat (limited to 'client/mysqladmin.c')
-rw-r--r--client/mysqladmin.c9
1 files changed, 1 insertions, 8 deletions
diff --git a/client/mysqladmin.c b/client/mysqladmin.c
index e95d6492949..ca568a914f2 100644
--- a/client/mysqladmin.c
+++ b/client/mysqladmin.c
@@ -17,13 +17,8 @@
/* maintaince of mysql databases */
-#include <global.h>
-#include <my_sys.h>
-#include <m_string.h>
+#include "client_priv.h"
#include <signal.h>
-#include "mysql.h"
-#include "errmsg.h"
-#include <getopt.h>
#ifdef THREAD
#include <my_pthread.h> /* because of signal() */
#endif
@@ -102,8 +97,6 @@ static const char *command_names[]= {
static TYPELIB command_typelib=
{ array_elements(command_names)-1,"commands", command_names};
-enum options { OPT_CHARSETS_DIR=256 };
-
static struct option long_options[] = {
{"compress", no_argument, 0, 'C'},
{"character-sets-dir", required_argument, 0, OPT_CHARSETS_DIR},