diff options
author | nicowallmeier <> | 2005-04-04 20:11:14 +0000 |
---|---|---|
committer | nicowallmeier <> | 2005-04-04 20:11:14 +0000 |
commit | f27536bd017902cb39c208ec346775b592fb56be (patch) | |
tree | b8e2ffee2213c263f3bb4a7b8746ae71026fcd12 | |
parent | bc7da25bcdea985d6f4f484e517b3a121b086a29 (diff) | |
download | lcd4linux-f27536bd017902cb39c208ec346775b592fb56be.tar.gz |
[lcd4linux @ 2005-04-04 20:11:14 by nicowallmeier]
to be compatible with gcc 2.95
Diffstat (limited to '')
-rwxr-xr-x | plugin_imon.c | 8 |
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(); |