diff options
| -rw-r--r-- | plugins/check_mysql_query.c | 30 | 
1 files changed, 15 insertions, 15 deletions
| diff --git a/plugins/check_mysql_query.c b/plugins/check_mysql_query.c index 18057d61..52753461 100644 --- a/plugins/check_mysql_query.c +++ b/plugins/check_mysql_query.c | |||
| @@ -41,23 +41,23 @@ const char *email = "devel@monitoring-plugins.org"; | |||
| 41 | #include <mysql.h> | 41 | #include <mysql.h> | 
| 42 | #include <errmsg.h> | 42 | #include <errmsg.h> | 
| 43 | 43 | ||
| 44 | char *db_user = NULL; | 44 | static char *db_user = NULL; | 
| 45 | char *db_host = NULL; | 45 | static char *db_host = NULL; | 
| 46 | char *db_socket = NULL; | 46 | static char *db_socket = NULL; | 
| 47 | char *db_pass = NULL; | 47 | static char *db_pass = NULL; | 
| 48 | char *db = NULL; | 48 | static char *db = NULL; | 
| 49 | char *opt_file = NULL; | 49 | static char *opt_file = NULL; | 
| 50 | char *opt_group = NULL; | 50 | static char *opt_group = NULL; | 
| 51 | unsigned int db_port = MYSQL_PORT; | 51 | static unsigned int db_port = MYSQL_PORT; | 
| 52 | 52 | ||
| 53 | int process_arguments(int, char **); | 53 | static int process_arguments(int, char **); | 
| 54 | int validate_arguments(void); | 54 | static int validate_arguments(void); | 
| 55 | void print_help(void); | 55 | static void print_help(void); | 
| 56 | void print_usage(void); | 56 | void print_usage(void); | 
| 57 | 57 | ||
| 58 | char *sql_query = NULL; | 58 | static char *sql_query = NULL; | 
| 59 | int verbose = 0; | 59 | static int verbose = 0; | 
| 60 | thresholds *my_thresholds = NULL; | 60 | static thresholds *my_thresholds = NULL; | 
| 61 | 61 | ||
| 62 | int main(int argc, char **argv) { | 62 | int main(int argc, char **argv) { | 
| 63 | 63 | ||
