Page 1 of 1

[Nagios-devel] [patch] 2.0-cvs fix compile errors

Posted: Sat Aug 07, 2004 2:19 pm
by Guest
also..
have you guys considered using a .cvsignore file?

adding this to the cgi directory will make diffs/updates a bit more
managable.

.cvsignore:
*.cgi
Makefile


Index: cgiutils.c
===================================================================
RCS file: /cvsroot/nagios/nagios/cgi/cgiutils.c,v
retrieving revision 1.35
diff -u -r1.35 cgiutils.c
--- cgiutils.c 10 Feb 2004 04:18:27 -0000 1.35
+++ cgiutils.c 7 Aug 2004 21:10:47 -0000
@@ -72,14 +72,14 @@
extern int enable_failure_prediction;
extern int process_performance_data;

-time_t last_command_check=0L;
+extern time_t last_command_check;

int check_external_commands=0;

int date_format=DATE_FORMAT_US;

int log_rotation_method=LOG_ROTATION_NONE;
-time_t last_log_rotation=0L;
+extern time_t last_log_rotation;

time_t this_scheduled_log_rotation=0L;
time_t last_scheduled_log_rotation=0L;
Index: statuswrl.c
===================================================================
RCS file: /cvsroot/nagios/nagios/cgi/statuswrl.c,v
retrieving revision 1.16
diff -u -r1.16 statuswrl.c
--- statuswrl.c 15 Aug 2003 01:34:09 -0000 1.16
+++ statuswrl.c 7 Aug 2004 21:10:47 -0000
@@ -88,7 +88,7 @@
void calculate_circular_coords(void);
void calculate_circular_layer_coords(host *,double,double,int,int);

-char url_logo_images_path[MAX_FILENAME_LENGTH];
+extern char *url_logo_images_path;

authdata current_authdata;








This post was automatically imported from historical nagios-devel mailing list archives
Original poster: [email protected]