aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authornicowallmeier <nicowallmeier@3ae390bd-cb1e-0410-b409-cd5a39f66f1f>2005-04-04 20:11:14 +0000
committernicowallmeier <nicowallmeier@3ae390bd-cb1e-0410-b409-cd5a39f66f1f>2005-04-04 20:11:14 +0000
commitc49672b6b89a02dd5ed9c5203b534f8bd6e07509 (patch)
treeb8e2ffee2213c263f3bb4a7b8746ae71026fcd12
parent118d85d597ffa77ca2d53b01c1dc5295f11c5f2c (diff)
downloadlcd4linux-c49672b6b89a02dd5ed9c5203b534f8bd6e07509.tar.gz
[lcd4linux @ 2005-04-04 20:11:14 by nicowallmeier]
to be compatible with gcc 2.95 git-svn-id: https://ssl.bulix.org/svn/lcd4linux/trunk@525 3ae390bd-cb1e-0410-b409-cd5a39f66f1f
-rwxr-xr-xplugin_imon.c8
1 files changed, 6 insertions, 2 deletions
diff --git a/plugin_imon.c b/plugin_imon.c
index 3e27006..2a7616e 100755
--- a/plugin_imon.c
+++ b/plugin_imon.c
@@ -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();