]> git.webhop.me Git - lcd4linux.git/commitdiff
[lcd4linux @ 2005-04-04 20:11:14 by nicowallmeier]
authornicowallmeier <nicowallmeier@3ae390bd-cb1e-0410-b409-cd5a39f66f1f>
Mon, 4 Apr 2005 20:11:14 +0000 (20:11 +0000)
committernicowallmeier <nicowallmeier@3ae390bd-cb1e-0410-b409-cd5a39f66f1f>
Mon, 4 Apr 2005 20:11:14 +0000 (20:11 +0000)
to be compatible with gcc 2.95

git-svn-id: https://ssl.bulix.org/svn/lcd4linux/trunk@525 3ae390bd-cb1e-0410-b409-cd5a39f66f1f

plugin_imon.c

index 3e270066e442338e5eeb3a51ad0957cb8580b4f9..2a7616ed05ce4c4738d754970ae75a5c76b8c02b 100755 (executable)
@@ -1,4 +1,4 @@
-/* $Id: plugin_imon.c,v 1.15 2005/04/01 05:16:04 reinelt Exp $
+/* $Id: plugin_imon.c,v 1.16 2005/04/04 20:11:14 nicowallmeier Exp $
  *
  * imond/telmond data processing
  *
@@ -22,6 +22,9 @@
  *
  *
  * $Log: plugin_imon.c,v $
+ * Revision 1.16  2005/04/04 20:11:14  nicowallmeier
+ * to be compatible with gcc 2.95
+ *
  * Revision 1.15  2005/04/01 05:16:04  reinelt
  * moved plugin init stuff to a seperate function called on first use
  *
@@ -426,6 +429,7 @@ static int configure_imon (void)
 static void my_imon_version (RESULT *result)
 {
   char *val;
+  int age;
 
   if (configure_imon() < 0) {
     SetResult(&result, R_STRING, ""); 
@@ -433,7 +437,7 @@ static void my_imon_version (RESULT *result)
   }
 
   /* read only once */
-  int age=hash_age(&IMON, "version");
+  age=hash_age(&IMON, "version");
   if (age<0){
     char *s;
     init();