[Nagiosplug-checkins] nagiosplug/plugins check_cluster.c,1.4,1.5
Holger Weiss
hweiss at users.sourceforge.net
Fri Apr 20 19:39:54 CEST 2007
Update of /cvsroot/nagiosplug/nagiosplug/plugins
In directory sc8-pr-cvs16:/tmp/cvs-serv22716
Modified Files:
check_cluster.c
Log Message:
Predeclare functions and remove unused variables.
Index: check_cluster.c
===================================================================
RCS file: /cvsroot/nagiosplug/nagiosplug/plugins/check_cluster.c,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -d -r1.4 -r1.5
--- check_cluster.c 15 Apr 2007 15:17:26 -0000 1.4
+++ check_cluster.c 20 Apr 2007 17:39:52 -0000 1.5
@@ -38,6 +38,9 @@
#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 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)
More information about the Commits
mailing list