]> git.webhop.me Git - lcd4linux.git/commitdiff
[lcd4linux @ 2004-01-21 11:31:23 by reinelt]
authorreinelt <reinelt@3ae390bd-cb1e-0410-b409-cd5a39f66f1f>
Wed, 21 Jan 2004 11:31:23 +0000 (11:31 +0000)
committerreinelt <reinelt@3ae390bd-cb1e-0410-b409-cd5a39f66f1f>
Wed, 21 Jan 2004 11:31:23 +0000 (11:31 +0000)
two bugs with hash_age() ixed

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

plugin_proc_stat.c
plugin_xmms.c

index d7d56c8eaa626cb65392f1fa0827019ae018573f..53cd81bed3593bfda938a6467a05bf7442bf0b67 100644 (file)
@@ -1,4 +1,4 @@
-/* $Id: plugin_proc_stat.c,v 1.7 2004/01/21 10:48:17 reinelt Exp $
+/* $Id: plugin_proc_stat.c,v 1.8 2004/01/21 11:31:23 reinelt Exp $
  *
  * plugin for /proc/stat parsing
  *
@@ -23,6 +23,9 @@
  *
  *
  * $Log: plugin_proc_stat.c,v $
+ * Revision 1.8  2004/01/21 11:31:23  reinelt
+ * two bugs with hash_age() ixed
+ *
  * Revision 1.7  2004/01/21 10:48:17  reinelt
  * hash_age function added
  *
@@ -100,6 +103,7 @@ static void hash_set3 (char *key1, char *key2, char *key3, char *val)
 
 static int parse_proc_stat (void)
 {
+  int age;
   FILE *stream;
   
   // reread every 10 msec only
index eacf6753dec785993ce0523843b3947b232400a9..861cc2708edca549f1a28d87b0b61abc5941589f 100644 (file)
@@ -1,4 +1,4 @@
-/* $Id: plugin_xmms.c,v 1.5 2004/01/21 10:48:17 reinelt Exp $
+/* $Id: plugin_xmms.c,v 1.6 2004/01/21 11:31:23 reinelt Exp $
  *
  * XMMS-Plugin for LCD4Linux
  * Copyright 2003 Markus Keil <markus_keil@t-online.de>
@@ -21,6 +21,9 @@
  *
  *
  * $Log: plugin_xmms.c,v $
+ * Revision 1.6  2004/01/21 11:31:23  reinelt
+ * two bugs with hash_age() ixed
+ *
  * Revision 1.5  2004/01/21 10:48:17  reinelt
  * hash_age function added
  *
@@ -82,6 +85,7 @@ static HASH xmms = { 0, };
 
 static int parse_xmms_info (void)
 {
+  int age;
   FILE *xmms_stream;
   char zeile[200];