@@ -83,13 +83,13 @@ static bool opt_verbose, opt_all,
83
83
login_path_specified = false ;
84
84
85
85
static int execute_commands (int command);
86
- static int set_command (void );
87
- static int remove_command (void );
88
- static int print_command (void );
86
+ static int set_command ();
87
+ static int remove_command ();
88
+ static int print_command ();
89
89
static void print_login_path (DYNAMIC_STRING *file_buf, const char *path_name);
90
90
static void remove_login_path (DYNAMIC_STRING *file_buf, const char *path_name);
91
91
static char *locate_login_path (DYNAMIC_STRING *file_buf, const char *path_name);
92
- static bool check_and_create_login_file (void );
92
+ static bool check_and_create_login_file ();
93
93
static void mask_password_and_print (char *buf);
94
94
static int reset_login_file (bool gen_key);
95
95
@@ -102,14 +102,14 @@ static int do_handle_options(int argc, char *argv[]);
102
102
static void remove_options (DYNAMIC_STRING *file_buf, const char *path_name);
103
103
static void remove_option (DYNAMIC_STRING *file_buf, const char *path_name,
104
104
const char *option_name);
105
- bool generate_login_key (void );
106
- static int read_login_key (void );
107
- static int add_header (void );
105
+ bool generate_login_key ();
106
+ static int read_login_key ();
107
+ static int add_header ();
108
108
static void my_perror (const char *msg);
109
109
110
110
static void verbose_msg (const char *fmt, ...)
111
111
MY_ATTRIBUTE((format(printf, 1 , 2 )));
112
- static void usage_program (void );
112
+ static void usage_program ();
113
113
static void usage_command (int command);
114
114
extern " C" bool get_one_option (int optid, const struct my_option *opt,
115
115
char *argument);
@@ -494,7 +494,7 @@ static int execute_commands(int command) {
494
494
0 Success
495
495
*/
496
496
497
- static int set_command (void ) {
497
+ static int set_command () {
498
498
DBUG_TRACE;
499
499
500
500
DYNAMIC_STRING file_buf, path_buf;
@@ -577,7 +577,7 @@ static int set_command(void) {
577
577
return -1 ;
578
578
}
579
579
580
- static int remove_command (void ) {
580
+ static int remove_command () {
581
581
DBUG_TRACE;
582
582
583
583
DYNAMIC_STRING file_buf, path_buf;
@@ -625,7 +625,7 @@ static int remove_command(void) {
625
625
0 Success
626
626
*/
627
627
628
- static int print_command (void ) {
628
+ static int print_command () {
629
629
DBUG_TRACE;
630
630
DYNAMIC_STRING file_buf;
631
631
@@ -655,7 +655,7 @@ static int print_command(void) {
655
655
false Success
656
656
*/
657
657
658
- static bool check_and_create_login_file (void ) {
658
+ static bool check_and_create_login_file () {
659
659
DBUG_TRACE;
660
660
661
661
MY_STAT stat_info;
@@ -1211,7 +1211,7 @@ static int decrypt_buffer(const char *cipher, int cipher_len, char plain[]) {
1211
1211
length written, otherwise.
1212
1212
*/
1213
1213
1214
- static int add_header (void ) {
1214
+ static int add_header () {
1215
1215
DBUG_TRACE;
1216
1216
1217
1217
/* Reserved for future use. */
@@ -1260,7 +1260,7 @@ bool generate_login_key() {
1260
1260
0 Success
1261
1261
*/
1262
1262
1263
- static int read_login_key (void ) {
1263
+ static int read_login_key () {
1264
1264
DBUG_TRACE;
1265
1265
1266
1266
verbose_msg (" Reading the login key.\n " );
@@ -1315,7 +1315,7 @@ static void usage_command(int command) {
1315
1315
my_print_variables (command_data[command].options );
1316
1316
}
1317
1317
1318
- static void usage_program (void ) {
1318
+ static void usage_program () {
1319
1319
print_version ();
1320
1320
puts (ORACLE_WELCOME_COPYRIGHT_NOTICE (" 2012" ));
1321
1321
puts (" MySQL Configuration Utility." );
0 commit comments