diff options
author | Holger Weiss <hweiss@users.sourceforge.net> | 2007-04-20 17:39:52 +0000 |
---|---|---|
committer | Holger Weiss <hweiss@users.sourceforge.net> | 2007-04-20 17:39:52 +0000 |
commit | 4965affecf59d59a79839393c716d0dfce39a16f (patch) | |
tree | c9aa9355b56c867ae25a77a21af62e6efc3bcdf8 /plugins | |
parent | 9b2a0c3d29395059ac380cffd3454535b1692a50 (diff) | |
download | monitoring-plugins-4965affecf59d59a79839393c716d0dfce39a16f.tar.gz |
Predeclare functions and remove unused variables.
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1695 f882894a-f735-0410-b71e-b25c423dba1c
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/check_cluster.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/plugins/check_cluster.c b/plugins/check_cluster.c index 9ded4a80..d76bce4e 100644 --- a/plugins/check_cluster.c +++ b/plugins/check_cluster.c @@ -38,6 +38,9 @@ const char *email = "nagiosplug-devel@lists.sourceforge.net"; #define CHECK_SERVICES 1 #define CHECK_HOSTS 2 +void print_help (void); +void print_usage (void); + int total_services_ok=0; int total_services_warning=0; int total_services_unknown=0; @@ -62,11 +65,9 @@ int process_arguments(int,char **); int main(int argc, char **argv){ - char input_buffer[MAX_INPUT_BUFFER]; char *ptr; int data_val; int return_code=STATE_OK; - int error=FALSE; thresholds *thresholds; if(process_arguments(argc,argv)==ERROR) |