[Nagiosplug-checkins] nagiosplug/plugins-root .cvsignore,1.1,1.2 check_dhcp.c,1.1,1.2

Ton Voon tonvoon at users.sourceforge.net
Thu May 18 15:06:05 CEST 2006


Update of /cvsroot/nagiosplug/nagiosplug/plugins-root
In directory sc8-pr-cvs7.sourceforge.net:/tmp/cvs-serv1176/plugins-root

Modified Files:
	.cvsignore check_dhcp.c 
Log Message:
Synchronise with coreutils 2.95. Gettext now synced with coreutils,
so no longer development platform requirement


Index: .cvsignore
===================================================================
RCS file: /cvsroot/nagiosplug/nagiosplug/plugins-root/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- .cvsignore	21 Sep 2005 10:06:37 -0000	1.1
+++ .cvsignore	18 May 2006 22:05:43 -0000	1.2
@@ -1,5 +1,7 @@
 .deps
+.libs
 Makefile.in
 Makefile
 check_dhcp
 check_icmp
+pst3

Index: check_dhcp.c
===================================================================
RCS file: /cvsroot/nagiosplug/nagiosplug/plugins-root/check_dhcp.c,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- check_dhcp.c	21 Sep 2005 10:06:37 -0000	1.1
+++ check_dhcp.c	18 May 2006 22:05:43 -0000	1.2
@@ -101,7 +101,6 @@
 
 #endif
 
-#define HAVE_GETOPT_H
 
 
 /**** Common definitions ****/
@@ -976,7 +975,6 @@
 	int i=0;
 	struct in_addr ipaddress;
 
-#ifdef HAVE_GETOPT_H
 	int option_index = 0;
 	static struct option long_options[] =
 	{ 
@@ -989,14 +987,9 @@
 		{"help",           no_argument,      0,'h'},
 		{0,0,0,0}
 	};
-#endif
 
 	while(1){
-#ifdef HAVE_GETOPT_H
 		c=getopt_long(argc,argv,"+hVvt:s:r:t:i:",long_options,&option_index);
-#else
-		c=getopt(argc,argv,"+?hVvt:s:r:t:i:");
-#endif
 
 		i++;
 





More information about the Commits mailing list