[patch] 2.0-cvs fix compile errors

Ian Holsman kryton at gmail.com
Sun Aug 8 00:19:03 CEST 2004


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 SF.Net email is sponsored by OSTG. Have you noticed the changes on
Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now,
one more big change to announce. We are now OSTG- Open Source Technology
Group. Come see the changes on the new OSTG site. www.ostg.com




More information about the Developers mailing list