Bugfix: memory and thread-deleting problems
[monky] / src / apcupsd.h
index 2dfa02a..4097b5d 100644 (file)
@@ -1,4 +1,7 @@
-/* apcupsd.h:  conky module for APC UPS daemon monitoring
+/* -*- mode: c; c-basic-offset: 4; tab-width: 4; indent-tabs-mode: t -*-
+ * vim: ts=4 sw=4 noet ai cindent syntax=c
+ *
+ * apcupsd.h:  conky module for APC UPS daemon monitoring
  *
  * Copyright (C) 2009 Jaromir Smrcek <jaromir.smrcek@zoner.com>
  *
@@ -17,8 +20,6 @@
  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301
  * USA.
  *
- * vim: ts=4 sw=4 noet ai cindent syntax=c
- *
  */
 
 #ifndef APCUPSD_H_
@@ -48,9 +49,6 @@ typedef struct apcupsd_s {
 } APCUPSD_S, *PAPCUPSD_S;
 
 /* Service routine for the conky main thread */
-void update_apcupsd(void);
-
-/* fill in the default values */
-void init_apcupsd(void);
+int update_apcupsd(void);
 
 #endif /*APCUPSD_H_*/