fixes for power kernel 47 breaking temperature and voltage readings
[monky] / src / moc.c
index 107eae0..7988185 100644 (file)
--- a/src/moc.c
+++ b/src/moc.c
@@ -1,4 +1,5 @@
 /* -*- mode: c; c-basic-offset: 4; tab-width: 4; indent-tabs-mode: t -*-
+ * vim: ts=4 sw=4 noet ai cindent syntax=c
  *
  * MOC Conky integration
  *
@@ -18,8 +19,6 @@
  * You should have received a copy of the GNU General Public License
  * along with this program.  If not, see <http://www.gnu.org/licenses/>.
  *
- * vim: ts=4 sw=4 noet ai cindent syntax=c
- *
  */
 
 #include "conky.h"
@@ -134,7 +133,8 @@ static int run_moc_thread(double interval)
        return 0;
 }
 
-void update_moc(void)
+int update_moc(void)
 {
        run_moc_thread(info.music_player_interval * 100000);
+       return 0;
 }