//
// Conky update function for apcupsd data
//
-void update_apcupsd(void) {
+int update_apcupsd(void) {
int i;
APCUPSD_S apc;
// "atomically" copy the data into working set
//
memcpy(info.apcupsd.items, apc.items, sizeof(info.apcupsd.items));
- return;
+ return 0;
}